mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 19:06:12 +02: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)))))
|
(fn [shapes] (filterv #(not= id %) shapes)))))
|
||||||
|
|
||||||
(and (cfh/text-shape? shape)
|
(and (cfh/text-shape? shape)
|
||||||
(not (seq (:content shape))))
|
(not (valid-text-content? (:content shape))))
|
||||||
(dissoc objects id)
|
(dissoc objects id)
|
||||||
|
|
||||||
:else
|
:else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue