0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 14:39:45 -05:00

🐛 Add minor adjustment to migration 33 to accept and fix invalid root frames

This commit is contained in:
Andrey Antukh 2024-01-31 16:52:03 +01:00
parent d4c91ae44b
commit 09ba1c262b

View file

@ -623,6 +623,10 @@
(-> object
(assoc :parent-id uuid/zero)
(assoc :frame-id uuid/zero)
;; We explicitly dissoc them and let the shape-setup
;; to regenerate it with valid values.
(dissoc :selrect)
(dissoc :points)
(cts/setup-shape))
object))