diff --git a/src/uxbox/data/images.cljs b/src/uxbox/data/images.cljs index 729c0e8c1..eb99afdb4 100644 --- a/src/uxbox/data/images.cljs +++ b/src/uxbox/data/images.cljs @@ -103,7 +103,7 @@ (defrecord CollectionUpdated [item] rs/UpdateEvent (-apply-update [_ state] - (sti/assoc-collection state item))) + (update-in state [:images-by-id (:id item)] merge item))) (defn collection-updated [item]