From 6a624ae94a1918148feb351f7ea9380033fd1b36 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 9 Dec 2024 13:15:09 +0100 Subject: [PATCH] :bug: Fix incorrect navegation handling on change team --- frontend/src/app/main/ui/dashboard/sidebar.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/sidebar.cljs b/frontend/src/app/main/ui/dashboard/sidebar.cljs index 990019067..f4f56e9ad 100644 --- a/frontend/src/app/main/ui/dashboard/sidebar.cljs +++ b/frontend/src/app/main/ui/dashboard/sidebar.cljs @@ -9,6 +9,7 @@ (:require [app.common.data.macros :as dm] [app.common.spec :as us] + [app.common.uuid :as uuid] [app.config :as cf] [app.main.data.auth :as da] [app.main.data.common :as dcm] @@ -280,7 +281,8 @@ (mf/use-fn (fn [event] (let [team-id (-> (dom/get-current-target event) - (dom/get-data "value"))] + (dom/get-data "value") + (uuid/parse))] (st/emit! (dcm/go-to-dashboard-recent :team-id team-id)))))