mirror of
https://github.com/penpot/penpot.git
synced 2026-07-22 14:08:03 +00:00
🐛 Fix bool type shape normalize migration
This commit is contained in:
parent
06bfb1ad26
commit
14c639a425
@ -1247,9 +1247,11 @@
|
||||
;; rollback, we still need to perform an other migration
|
||||
;; for properly delete the bool-content prop from shapes
|
||||
;; once the know the migration was OK
|
||||
(if-let [content (:bool-content object)]
|
||||
(assoc object :content content)
|
||||
object))
|
||||
(if (cfh/bool-shape? object)
|
||||
(if-let [content (:bool-content object)]
|
||||
(assoc object :content content)
|
||||
object)
|
||||
(dissoc object :bool-content :bool-type)))
|
||||
|
||||
(update-container [container]
|
||||
(d/update-when container :objects update-vals update-object))]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user