0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-27 00:49:28 -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
(-apply-watch [_ state s]
(rx/merge (rx/of (fetch-collections))
(when (uuid? id)
(rx/of (fetch-images id))))))
(rx/of (fetch-images id)))))
(defn initialize
[type id]