mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 22:06:10 +02:00
Fix unexpected behavior on image collection renaming.
This commit is contained in:
parent
2df37e3ba2
commit
fa98c544cc
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
||||||
(defrecord CollectionUpdated [item]
|
(defrecord CollectionUpdated [item]
|
||||||
rs/UpdateEvent
|
rs/UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(sti/assoc-collection state item)))
|
(update-in state [:images-by-id (:id item)] merge item)))
|
||||||
|
|
||||||
(defn collection-updated
|
(defn collection-updated
|
||||||
[item]
|
[item]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue