mirror of
https://github.com/penpot/penpot.git
synced 2025-03-20 19:51:23 -05:00
Load storage collection icons on sidebar icons component is mounted.
This commit is contained in:
parent
98f55d53ff
commit
3e1a7fca69
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
[own]
|
||||
(let [local (:rum/local own)]
|
||||
(rs/emit! (udi/fetch-collections))
|
||||
(rs/emit! (udi/fetch-icons nil))
|
||||
(add-watch local ::key (fn [_ _ _ {:keys [id]}]
|
||||
(rs/emit! (udi/fetch-icons id))))
|
||||
own))
|
||||
|
|
Loading…
Add table
Reference in a new issue