0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 03:49:22 -05:00
This commit is contained in:
Florian Schroedl 2024-11-28 13:59:47 +01:00
parent 5cbcdb77c9
commit a28ed69113
2 changed files with 4 additions and 4 deletions

View file

@ -215,8 +215,8 @@
(defn split-token-set-path [path]
(split-path path set-separator))
(defn set-full-name->prefixed-full-path [set-full-name-string]
(-> (split-token-set-path set-full-name-string)
(defn set-full-name->prefixed-full-path [full-path-str]
(-> (split-token-set-path full-path-str)
(set-full-path->set-prefixed-full-path)))
(defn get-token-set-prefixed-path [token-set]

View file

@ -89,11 +89,11 @@
(get (:tokens workspace-data) id)))
(defn set-selected-token-set-path
[id]
[full-path]
(ptk/reify ::set-selected-token-set-path
ptk/UpdateEvent
(update [_ state]
(wtts/assoc-selected-token-set-path state id))))
(wtts/assoc-selected-token-set-path state full-path))))
(defn set-selected-token-set-path-from-name
[token-set-name]