🐛 Fix problem when moving files with drag & drop.

This commit is contained in:
Andrey Antukh 2021-06-04 13:41:33 +02:00 committed by Alonso Torres
parent 8a700170b0
commit d2359046c4

View file

@ -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)))))))]