From aaeb8c88686bfb30a12700805678469b3226bc3c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 24 Jan 2024 14:09:52 +0100 Subject: [PATCH] :bug: Fix components with bool shape as root on comp-v2 migration --- 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 2977a475f..266f579b0 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -408,7 +408,8 @@ (fix-shape [shape] (if (and (ctk/instance-head? shape) - (cfh/path-shape? shape)) + (or (cfh/path-shape? shape) + (cfh/bool-shape? shape))) (ctk/detach-shape shape) shape))]