0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

🐛 Fix component modified date in v1

This commit is contained in:
Andrés Moya 2023-08-17 15:50:19 +02:00
parent e1954b5dd7
commit f409dfd3d1
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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 $