0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

🐛 Fix incorrect navegation handling on change team

This commit is contained in:
Andrey Antukh 2024-12-09 13:15:09 +01:00
parent c6cdeea636
commit 6a624ae94a

View file

@ -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)))))