mirror of
https://github.com/penpot/penpot.git
synced 2026-05-06 08:38:40 +00:00
🐛 Properly remove invalid text shapes on comp-v2 migration
This commit is contained in:
parent
9ca7c4280c
commit
e43380ad61
@ -284,7 +284,7 @@
|
||||
(fn [shapes] (filterv #(not= id %) shapes)))))
|
||||
|
||||
(and (cfh/text-shape? shape)
|
||||
(not (seq (:content shape))))
|
||||
(not (valid-text-content? (:content shape))))
|
||||
(dissoc objects id)
|
||||
|
||||
:else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user