mirror of
https://github.com/penpot/penpot.git
synced 2025-02-05 22:09:06 -05:00
Fetch images for storage collection.
This commit is contained in:
parent
191c4943bd
commit
ae51454fc4
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue