mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix problems uploading graphics in components v1
This commit is contained in:
parent
67b3040327
commit
21bd59defd
1 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,8 @@
|
||||||
(let [params (assoc params
|
(let [params (assoc params
|
||||||
:force-media true
|
:force-media true
|
||||||
:local? false
|
: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)))
|
(process-media-objects params)))
|
||||||
|
|
||||||
(defn upload-media-workspace
|
(defn upload-media-workspace
|
||||||
|
|
Loading…
Add table
Reference in a new issue