From c8b2db81459cddfc0af7df67c020cc8660cff0a6 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 9 Apr 2024 18:59:17 +0200 Subject: [PATCH] :bug: Fix crash on moving a copy in a copy (for a migrated file) (2) --- common/src/app/common/types/container.cljc | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/app/common/types/container.cljc b/common/src/app/common/types/container.cljc index ad2424144..b50c5058a 100644 --- a/common/src/app/common/types/container.cljc +++ b/common/src/app/common/types/container.cljc @@ -509,6 +509,7 @@ (every? nil?)))] (or ;;We don't want to change the structure of component copies + (ctk/in-component-copy? parent) (has-any-copy-parent? objects parent) ;; If we are moving something containing a main instance the container can't be part of a component (neither main nor copy) (and selected-main-instance? parent-in-component?)