mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 13:18:29 +00:00
Fix image uploading broken in previous commits.
This commit is contained in:
parent
841e178c15
commit
720178c03f
@ -180,8 +180,7 @@
|
||||
(defrecord ImageCreated [item]
|
||||
rs/UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
(update-in state [:image-colls-by-id (:collection item) :images]
|
||||
#(conj % item))))
|
||||
(update state :images-by-id assoc (:id item) item)))
|
||||
|
||||
(defn image-created
|
||||
[item]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user