mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
Merge pull request #5341 from penpot/palba-fix-leave-team
🐛 Fix bad redirect after leaving team
This commit is contained in:
commit
afcfbdedda
1 changed files with 3 additions and 0 deletions
|
@ -1118,6 +1118,9 @@
|
||||||
(rx/of (rt/nav :dashboard-projects {:team-id team-id}))))))
|
(rx/of (rt/nav :dashboard-projects {:team-id team-id}))))))
|
||||||
([team-id]
|
([team-id]
|
||||||
(ptk/reify ::go-to-projects-1
|
(ptk/reify ::go-to-projects-1
|
||||||
|
ptk/UpdateEvent
|
||||||
|
(update [_ state]
|
||||||
|
(assoc state :current-team-id team-id))
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ _ _]
|
(watch [_ _ _]
|
||||||
(rx/of (rt/nav :dashboard-projects {:team-id team-id}))))))
|
(rx/of (rt/nav :dashboard-projects {:team-id team-id}))))))
|
||||||
|
|
Loading…
Reference in a new issue