mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 19:36:11 +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
|
@ -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 $
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue