0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix problems uploading graphics in components v1

This commit is contained in:
alonso.torres 2024-01-10 11:09:01 +01:00 committed by Andrey Antukh
parent 67b3040327
commit 21bd59defd

View file

@ -240,7 +240,8 @@
(let [params (assoc params
:force-media true
:local? false
:on-image #(st/emit! (dwl/add-media %)))]
:on-image #(st/emit! (dwl/add-media %))
:on-svg #(st/emit! (dwl/add-media %)))]
(process-media-objects params)))
(defn upload-media-workspace