From 0cae9d6ad5c7c484e2220cdcf80cac8d1f781e4e Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 20 Nov 2024 15:37:08 +0100 Subject: [PATCH] :bug: Fix bad redirect after leaving team --- frontend/src/app/main/data/dashboard.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/app/main/data/dashboard.cljs b/frontend/src/app/main/data/dashboard.cljs index 795c112e6..e4530c9f9 100644 --- a/frontend/src/app/main/data/dashboard.cljs +++ b/frontend/src/app/main/data/dashboard.cljs @@ -1118,6 +1118,9 @@ (rx/of (rt/nav :dashboard-projects {:team-id team-id})))))) ([team-id] (ptk/reify ::go-to-projects-1 + ptk/UpdateEvent + (update [_ state] + (assoc state :current-team-id team-id)) ptk/WatchEvent (watch [_ _ _] (rx/of (rt/nav :dashboard-projects {:team-id team-id}))))))