mirror of
https://github.com/penpot/penpot.git
synced 2025-01-04 13:50:12 -05:00
🐛Fix link when deselecting shapes
This commit is contained in:
parent
b18ee859b1
commit
c61b794ab6
1 changed files with 5 additions and 2 deletions
|
@ -304,8 +304,11 @@
|
|||
([check-modal]
|
||||
(ptk/reify ::deselect-all
|
||||
ptk/WatchEvent
|
||||
(watch [_ _ _]
|
||||
(rx/of ::dwsp/interrupt))
|
||||
(watch [_ state _]
|
||||
(let [params-without-board (-> (rt/get-params state)
|
||||
(dissoc :board-id))]
|
||||
(rx/of ::dwsp/interrupt)
|
||||
(rx/of (rt/nav :workspace params-without-board {::rt/replace true}))))
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
|
||||
|
|
Loading…
Reference in a new issue