mirror of
https://github.com/penpot/penpot.git
synced 2025-02-25 00:06:09 -05:00
Merge pull request #3532 from penpot/hiru-fix-component-modified
🐛 Fix component modified date in v1
This commit is contained in:
commit
70bb34118c
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