mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
✨ Calculate uuid lazily on creating token theme
This commit is contained in:
parent
8df12e5e9c
commit
d9c4fc3721
@ -588,7 +588,7 @@
|
||||
(update :group d/nilv top-level-theme-group-name)
|
||||
(update :description d/nilv "")
|
||||
(update :is-source d/nilv false)
|
||||
(update :id d/nilv (str (uuid/next)))
|
||||
(update :id #(or % (str (uuid/next))))
|
||||
(update :modified-at #(or % (dt/now)))
|
||||
(update :sets set)
|
||||
(check-token-theme-attrs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user