From 5072c903c5aaa4fb1497030fedc7c501879abe0a Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 11 Jul 2023 13:29:15 +0200 Subject: [PATCH] :bug: Fix bad frame-id for certain componentes --- CHANGES.md | 1 + common/src/app/common/pages/common.cljc | 2 +- common/src/app/common/pages/migrations.cljc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 379b072f2..8f82cff62 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -69,6 +69,7 @@ - Fix overlay position when there are elements fixed when scrolling [Taiga #4383](https://tree.taiga.io/project/penpot/issue/4383) - Fix problem when sliding color picker in selected-colors [#3150](https://github.com/penpot/penpot/issues/3150) - Fix error screen on upload image error [Taiga #5608](https://tree.taiga.io/project/penpot/issue/5608) +- Fix bad frame-id for certain componentes [#3205](https://github.com/penpot/penpot/issues/3205) ### :arrow_up: Deps updates diff --git a/common/src/app/common/pages/common.cljc b/common/src/app/common/pages/common.cljc index 49e922632..e0443616b 100644 --- a/common/src/app/common/pages/common.cljc +++ b/common/src/app/common/pages/common.cljc @@ -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) diff --git a/common/src/app/common/pages/migrations.cljc b/common/src/app/common/pages/migrations.cljc index 510423710..72205dd4c 100644 --- a/common/src/app/common/pages/migrations.cljc +++ b/common/src/app/common/pages/migrations.cljc @@ -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)