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:
parent
c6cdeea636
commit
6a624ae94a
1 changed files with 3 additions and 1 deletions
|
@ -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)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue