0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 14:51:37 -05:00

Merge pull request #5132 from penpot/niwinz-bugfix-1

🐛 Fix issues on migration 55
This commit is contained in:
Alejandro 2024-10-02 13:36:43 +02:00 committed by GitHub
commit d570048f78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1056,9 +1056,14 @@
(not (contains? page :default-grids)))
(assoc :default-grids (:saved-grids options))
(and (some? (:background options))
(not (contains? page :background)))
(assoc :background (:background options))
(and (some? (:flows options))
(not (contains? page :flows)))
(assoc :flows (:flows options))
(or (not (contains? page :flows))
(not (map? (:flows page)))))
(assoc :flows (d/index-by :id (:flows options)))
(and (some? (:guides options))
(not (contains? page :guides)))