0
Fork 0
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:
Andrey Antukh 2016-10-23 17:19:50 +02:00
parent 191c4943bd
commit ae51454fc4

View file

@ -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]