mirror of
https://github.com/penpot/penpot.git
synced 2025-01-27 00:49:28 -05:00
Fix wrong state tranformation on delete icon collection event.
This commit is contained in:
parent
7690a088ab
commit
3cf4a75b93
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue