mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 16:41:38 +02:00
Add refs
This commit is contained in:
parent
eaf568f154
commit
73078d802a
1 changed files with 13 additions and 0 deletions
|
@ -234,6 +234,19 @@
|
||||||
(def workspace-data
|
(def workspace-data
|
||||||
(l/derived :workspace-data st/state))
|
(l/derived :workspace-data st/state))
|
||||||
|
|
||||||
|
(def workspace-selected-token-set-id
|
||||||
|
(l/derived
|
||||||
|
wtts/get-selected-token-set-id
|
||||||
|
st/state
|
||||||
|
=))
|
||||||
|
|
||||||
|
(def workspace-token-sets
|
||||||
|
(l/derived
|
||||||
|
(fn [data]
|
||||||
|
(or (wtts/get-workspace-sets data) {}))
|
||||||
|
st/state
|
||||||
|
=))
|
||||||
|
|
||||||
(def workspace-tokens
|
(def workspace-tokens
|
||||||
(l/derived
|
(l/derived
|
||||||
(fn [data]
|
(fn [data]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue