From d2359046c4cda7ea834e4bcff90800fb01e4cc33 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 4 Jun 2021 13:41:33 +0200 Subject: [PATCH] :bug: Fix problem when moving files with drag & drop. --- frontend/src/app/main/ui/dashboard/grid.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/grid.cljs b/frontend/src/app/main/ui/dashboard/grid.cljs index b6a8b10d25..3afa25470d 100644 --- a/frontend/src/app/main/ui/dashboard/grid.cljs +++ b/frontend/src/app/main/ui/dashboard/grid.cljs @@ -329,7 +329,7 @@ (fn [e] (reset! dragging? false) (when (not= selected-project project-id) - (let [data {:ids selected-files + (let [data {:ids (into #{} (keys selected-files)) :project-id project-id} mdata {:on-success on-drop-success}] (st/emit! (dd/move-files (with-meta data mdata)))))))]