mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 01:06:14 +02:00
🐛 Fix problem when moving files with drag & drop.
This commit is contained in:
parent
8a700170b0
commit
d2359046c4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue