diff --git a/CHANGES.md b/CHANGES.md index bfc1adf540..5e28382c6d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # CHANGELOG +## 1.19.1 + +### :bug: Bugs fixed + +- Fix components not registered as updated [Taiga #5725](https://tree.taiga.io/project/penpot/issue/5725) + ## 1.19.0 ### :boom: Breaking changes & Deprecations diff --git a/common/src/app/common/pages/changes.cljc b/common/src/app/common/pages/changes.cljc index c116498544..620e635d24 100644 --- a/common/src/app/common/pages/changes.cljc +++ b/common/src/app/common/pages/changes.cljc @@ -329,7 +329,9 @@ component-root (ctn/get-component-shape objects shape {:allow-main? true})] (if (and (some? component-root) (ctk/main-instance? component-root)) (ctkl/set-component-modified data (:component-id component-root)) - data)) + (if (some? component-id) + (ctkl/set-component-modified data component-id) + data))) data))] (as-> data $