mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Allow providing set name
This commit is contained in:
parent
e502def755
commit
ae1c30ad56
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@
|
|||
"🗑️"]]]])]])]]
|
||||
[:div.spaced
|
||||
[:b "Sets"]
|
||||
[:button {:on-click #(st/emit! (wdt/create-token-set nil))} "Create"]]
|
||||
[:button {:on-click #(st/emit! (wdt/create-token-set {:name (js/window.prompt "Set name")}))} "Create"]]
|
||||
[:ul.spaced-y
|
||||
(for [[_ {:keys [id name]}] token-sets]
|
||||
[:li {:class [(when (= selected-token-set-id id) "selected")]
|
||||
|
|
Loading…
Add table
Reference in a new issue