From 33c82e2abe509dfd89911b86e7565cb2329ebcea Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 14 Sep 2023 07:13:37 +0200 Subject: [PATCH] :bug: Fix authentication required on dashboard --- frontend/src/app/main/ui/dashboard.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/dashboard.cljs b/frontend/src/app/main/ui/dashboard.cljs index 0983b45bcb..b0ae43974b 100644 --- a/frontend/src/app/main/ui/dashboard.cljs +++ b/frontend/src/app/main/ui/dashboard.cljs @@ -154,9 +154,7 @@ (hooks/use-shortcuts ::dashboard sc/shortcuts) (mf/with-effect [profile team-id] - (when profile - ;; When doing logout we must avoid reinitializing the dashboard - (st/emit! (dd/initialize {:id team-id}))) + (st/emit! (dd/initialize {:id team-id})) (fn [] (dd/finalize {:id team-id})))