mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix problem when moving files with drag & drop.
This commit is contained in:
parent
8a700170b0
commit
d2359046c4
@ -329,7 +329,7 @@
|
|||||||
(fn [e]
|
(fn [e]
|
||||||
(reset! dragging? false)
|
(reset! dragging? false)
|
||||||
(when (not= selected-project project-id)
|
(when (not= selected-project project-id)
|
||||||
(let [data {:ids selected-files
|
(let [data {:ids (into #{} (keys selected-files))
|
||||||
:project-id project-id}
|
:project-id project-id}
|
||||||
mdata {:on-success on-drop-success}]
|
mdata {:on-success on-drop-success}]
|
||||||
(st/emit! (dd/move-files (with-meta data mdata)))))))]
|
(st/emit! (dd/move-files (with-meta data mdata)))))))]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user