From dd363c10a0b5cf4e6682b299e2ae87c7a808f625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Thu, 30 Nov 2023 16:33:20 +0100 Subject: [PATCH] :bug: Fix synchronization --- 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 928a5ed664..aaaab912b6 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]) + (dm/get-in objects [parent-id :frame-id] uuid/zero) :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 6aa83d5827..a1d7644c36 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 parent-shape) + (:id component-parent-shape) (get component-page :objects) update-new-shape update-original-shape)