mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 22:19:19 +00:00
Fetch images for storage collection.
This commit is contained in:
parent
191c4943bd
commit
ae51454fc4
@ -34,8 +34,7 @@
|
|||||||
rs/WatchEvent
|
rs/WatchEvent
|
||||||
(-apply-watch [_ state s]
|
(-apply-watch [_ state s]
|
||||||
(rx/merge (rx/of (fetch-collections))
|
(rx/merge (rx/of (fetch-collections))
|
||||||
(when (uuid? id)
|
(rx/of (fetch-images id)))))
|
||||||
(rx/of (fetch-images id))))))
|
|
||||||
|
|
||||||
(defn initialize
|
(defn initialize
|
||||||
[type id]
|
[type id]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user