🐛 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)) (assoc :default-grids (:saved-grids options))
(and (some? (:flows options)) (and (some? (:flows options))
(not (contains? page :flows))) (or (not (contains? page :flows))
(assoc :flows (:flows options)) (not (map? (:flows page)))))
(assoc :flows (d/index-by :id (:flows options)))
(and (some? (:guides options)) (and (some? (:guides options))
(not (contains? page :guides))) (not (contains? page :guides)))