From 3448259c60d8fdff03e2186d3f204a0f40d883a6 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 7 Nov 2023 12:49:34 +0100 Subject: [PATCH] :bug: Fix typo in transducer that prevents component swap from open --- .../main/ui/workspace/sidebar/options/menus/component.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 2efa4ccaa3..e05500eadd 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 @@ -160,7 +160,7 @@ [:div.component-item {:ref item-ref :class (stl/css-case :disabled loop) - :key (:id item) + :key (str "swap-item-" (:id item)) :on-click on-select-component} (when visible? [:& cmm/component-item-thumbnail {:file-id (:file-id item) @@ -232,7 +232,7 @@ (mapcat get-subgroups) (remove str/empty?) (remove nil?) - distinct + (distinct) (filter #(= (cph/butlast-path %) (:path filters)))) groups (when-not is-search?