🐛 Fix bad frame-id for certain componentes

This commit is contained in:
alonso.torres 2023-07-11 13:29:15 +02:00 committed by Aitor
parent 66559d3ce3
commit 5072c903c5
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@
[app.common.schema :as sm]
[app.common.uuid :as uuid]))
(def file-version 20)
(def file-version 21)
(def default-color clr/gray-20)
(def root uuid/zero)

View file

@ -436,7 +436,7 @@
(update :pages-index update-vals update-container)
(update :components update-vals update-container))))
(defmethod migrate 20
(defmethod migrate 21
[data]
(letfn [(update-object [objects object]
(let [frame-id (:frame-id object)