From f8c416c5aeabac014d4b632361e84fae6fc84bbe Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 12 Mar 2024 21:34:45 +0100 Subject: [PATCH] :bug: Fixes the folders in the Swap pannel appear weird on mixed --- .../app/main/ui/workspace/sidebar/options/menus/component.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs index 3cb70d94f..49c077daa 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs @@ -275,7 +275,7 @@ (defn- find-common-path ([components] - (let [paths (map (comp cfh/last-path :path) components)] + (let [paths (map (comp cfh/split-path :path) components)] (find-common-path paths [] 0))) ([paths path n] (let [current (nth (first paths) n nil)]