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