mirror of
https://github.com/penpot/penpot.git
synced 2025-05-01 11:18:28 +02:00
Fix id
This commit is contained in:
parent
5358cd1c52
commit
cfefbadb64
1 changed files with 1 additions and 2 deletions
|
@ -108,7 +108,6 @@
|
||||||
(cond
|
(cond
|
||||||
(not theme-id) (-> changes
|
(not theme-id) (-> changes
|
||||||
(pcb/add-temporary-token-theme
|
(pcb/add-temporary-token-theme
|
||||||
|
|
||||||
{:id (uuid/next)
|
{:id (uuid/next)
|
||||||
:name ""
|
:name ""
|
||||||
:sets #{id}}))
|
:sets #{id}}))
|
||||||
|
@ -216,7 +215,7 @@
|
||||||
(pcb/update-token-set updated-token-set token-set))))
|
(pcb/update-token-set updated-token-set token-set))))
|
||||||
theme-changes (-> set-changes
|
theme-changes (-> set-changes
|
||||||
(ensure-token-theme-changes state {:new-set? create-set?
|
(ensure-token-theme-changes state {:new-set? create-set?
|
||||||
:set-id selected-token-set-id}))]
|
:id selected-token-set-id}))]
|
||||||
(rx/of
|
(rx/of
|
||||||
(set-selected-token-set-id selected-token-set-id)
|
(set-selected-token-set-id selected-token-set-id)
|
||||||
(dch/commit-changes theme-changes)))))))
|
(dch/commit-changes theme-changes)))))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue