mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 10:41:29 -05:00
🐛 Properly remove invalid text shapes on comp-v2 migration
This commit is contained in:
parent
9ca7c4280c
commit
e43380ad61
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue