mirror of
https://github.com/penpot/penpot.git
synced 2026-05-08 09:38:43 +00:00
Fix wrong state tranformation on delete icon collection event.
This commit is contained in:
parent
7690a088ab
commit
3cf4a75b93
@ -167,7 +167,7 @@
|
||||
|
||||
rs/WatchEvent
|
||||
(-apply-watch [_ state s]
|
||||
(let [type (get-in state [:dashboard :images :type])]
|
||||
(let [type (get-in state [:dashboard :icons :type])]
|
||||
(->> (rp/req :delete/icon-collection id)
|
||||
(rx/map #(select-collection type))))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user