From cee827a97bf7eef603565ebea75c5c1a28a93d96 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 22 Nov 2023 10:56:53 +0100 Subject: [PATCH] :bug: Fix swap is swapping main components 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 0fa947541..567423888 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 @@ -492,7 +492,7 @@ [:div {:class (stl/css :component-parent-name)} (cfh/merge-path-item (:path component) (:name component))])]] (when swap-opened? - [:& component-swap {:shapes shapes}]) + [:& component-swap {:shapes copies}]) (when (and (not swap-opened?) (not multi) components-v2) [:& component-annotation {:id id :shape shape :component component}])])])))