From f1349facc17d8c244eaf66e79b50986d744e7a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 8 Nov 2023 18:00:21 +0100 Subject: [PATCH] :bug: Fix graphics conversion in migration to components-v2 --- backend/src/app/features/components_v2.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app/features/components_v2.clj b/backend/src/app/features/components_v2.clj index 25e18217c..ba1949550 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -574,7 +574,8 @@ cfsh/prepare-create-artboard-from-selection) changes (pcb/concat-changes changes changes2)] - (cp/process-changes fdata (:redo-changes changes) false))) + (cp/process-changes (assoc-in fdata [:options :components-v2] true) ; Process component creation in v2 way + (:redo-changes changes) false))) (defn- migrate-graphics [fdata]