mirror of
https://github.com/penpot/penpot.git
synced 2025-05-04 07:05:54 +02:00
🐛 Fix component modified date in v1
This commit is contained in:
parent
e1954b5dd7
commit
f409dfd3d1
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
||||||
# CHANGELOG
|
# 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
|
## 1.19.0
|
||||||
|
|
||||||
### :boom: Breaking changes & Deprecations
|
### :boom: Breaking changes & Deprecations
|
||||||
|
|
|
@ -329,7 +329,9 @@
|
||||||
component-root (ctn/get-component-shape objects shape {:allow-main? true})]
|
component-root (ctn/get-component-shape objects shape {:allow-main? true})]
|
||||||
(if (and (some? component-root) (ctk/main-instance? component-root))
|
(if (and (some? component-root) (ctk/main-instance? component-root))
|
||||||
(ctkl/set-component-modified data (:component-id 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))]
|
data))]
|
||||||
|
|
||||||
(as-> data $
|
(as-> data $
|
||||||
|
|
Loading…
Add table
Reference in a new issue