From a4f32de9a1452087d4e248ca38b696b2b16d6e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 1 Dec 2023 15:31:26 +0100 Subject: [PATCH] Revert ":bug: Fix synchronization" This reverts commit dd363c10a0b5cf4e6682b299e2ae87c7a808f625. --- common/src/app/common/types/shape_tree.cljc | 2 +- frontend/src/app/main/data/workspace/libraries_helpers.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/app/common/types/shape_tree.cljc b/common/src/app/common/types/shape_tree.cljc index aaaab912b..928a5ed66 100644 --- a/common/src/app/common/types/shape_tree.cljc +++ b/common/src/app/common/types/shape_tree.cljc @@ -382,7 +382,7 @@ parent-id (nil? frame-id) - (dm/get-in objects [parent-id :frame-id] uuid/zero) + (dm/get-in objects [parent-id :frame-id]) :else frame-id)] diff --git a/frontend/src/app/main/data/workspace/libraries_helpers.cljs b/frontend/src/app/main/data/workspace/libraries_helpers.cljs index a1d7644c3..6aa83d582 100644 --- a/frontend/src/app/main/data/workspace/libraries_helpers.cljs +++ b/frontend/src/app/main/data/workspace/libraries_helpers.cljs @@ -931,7 +931,7 @@ [_ new-shapes _] (ctst/clone-object component-shape - (:id component-parent-shape) + (:id parent-shape) (get component-page :objects) update-new-shape update-original-shape)