0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05:00

🐛 Fix incorrect flows conversion on migration 55

This commit is contained in:
Andrey Antukh 2024-10-01 16:31:55 +02:00
parent 3d7df5b005
commit 31f62dcc12

View file

@ -1057,8 +1057,9 @@
(assoc :default-grids (:saved-grids 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)))