From 76479a248667877727bd8f85966ad9f3cfdbf7c3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 1 Oct 2024 16:44:21 +0200 Subject: [PATCH] :bug: Fix page background migration --- common/src/app/common/files/migrations.cljc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index ed5dd1ad45..2b6c4b4506 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -1056,6 +1056,10 @@ (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)) (or (not (contains? page :flows)) (not (map? (:flows page)))))