mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 04:51:38 +02:00
🐛 Fix import images
This commit is contained in:
parent
d1cce44616
commit
3eb209b602
2 changed files with 4 additions and 0 deletions
|
@ -256,6 +256,8 @@
|
|||
(let [name (cip/get-image-name node)
|
||||
data-uri (cip/get-image-data node)]
|
||||
(->> (upload-media-files file-id name data-uri)
|
||||
(rx/catch #(do (.error js/console %)
|
||||
(rx/of node)))
|
||||
(rx/map
|
||||
(fn [media]
|
||||
(-> node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue