0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Fix unexpected behavior on image collection renaming.

This commit is contained in:
Andrey Antukh 2016-05-24 21:12:55 +03:00
parent 2df37e3ba2
commit fa98c544cc
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

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