mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 12:40:12 +00:00
Load storage collection icons on sidebar icons component is mounted.
This commit is contained in:
parent
98f55d53ff
commit
3e1a7fca69
@ -41,6 +41,7 @@
|
|||||||
[own]
|
[own]
|
||||||
(let [local (:rum/local own)]
|
(let [local (:rum/local own)]
|
||||||
(rs/emit! (udi/fetch-collections))
|
(rs/emit! (udi/fetch-collections))
|
||||||
|
(rs/emit! (udi/fetch-icons nil))
|
||||||
(add-watch local ::key (fn [_ _ _ {:keys [id]}]
|
(add-watch local ::key (fn [_ _ _ {:keys [id]}]
|
||||||
(rs/emit! (udi/fetch-icons id))))
|
(rs/emit! (udi/fetch-icons id))))
|
||||||
own))
|
own))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user