From b1d33d4c152e1e3e0c3aeb334d907c0728bdce61 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 25 Jan 2024 17:58:55 +0100 Subject: [PATCH] :bug: Add missing shape name on comp-v2 migration --- backend/src/app/features/components_v2.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/app/features/components_v2.clj b/backend/src/app/features/components_v2.clj index ff7ad5866..584259020 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -275,6 +275,9 @@ 0 gap))) + (nil? (:name shape)) + (assoc :name (d/name (:type shape))) + ;; Fix broken fills (seq (:fills shape)) (update :fills (fn [fills] (filterv valid-fill? fills)))