diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index 64ec47d847..ed5dd1ad45 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -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)))