0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-26 22:51:29 -05:00

🐛 Add missing shape name on comp-v2 migration

This commit is contained in:
Andrey Antukh 2024-01-25 17:58:55 +01:00
parent 1a3c07abdb
commit b1d33d4c15

View file

@ -275,6 +275,9 @@
0 0
gap))) gap)))
(nil? (:name shape))
(assoc :name (d/name (:type shape)))
;; Fix broken fills ;; Fix broken fills
(seq (:fills shape)) (seq (:fills shape))
(update :fills (fn [fills] (filterv valid-fill? fills))) (update :fills (fn [fills] (filterv valid-fill? fills)))