mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
🐛 Fix problem with team management in dashboard
This commit is contained in:
parent
c447279c75
commit
19ea7e8b2f
2 changed files with 5 additions and 3 deletions
|
@ -51,6 +51,7 @@
|
|||
- Fix issue with system shortcuts and application [#737](https://github.com/penpot/penpot/issues/737)
|
||||
- Fix problem with enter key shortcut [#775](https://github.com/penpot/penpot/issues/775)
|
||||
- Updates worksans font [#744](https://github.com/penpot/penpot/issues/744)
|
||||
- Fix problem with team management in dashboard [Taiga #1475](https://tree.taiga.io/project/penpot/issue/1475)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
|
||||
|
|
|
@ -320,9 +320,10 @@
|
|||
on-leaved-success
|
||||
(mf/use-callback
|
||||
(mf/deps team profile)
|
||||
(let [team-id (:default-team-id profile)]
|
||||
(da/set-current-team! team-id)
|
||||
(st/emit! (rt/nav :dashboard-projects {:team-id team-id}))))
|
||||
(fn []
|
||||
(let [team-id (:default-team-id profile)]
|
||||
(da/set-current-team! team-id)
|
||||
(st/emit! (rt/nav :dashboard-projects {:team-id team-id})))))
|
||||
|
||||
leave-fn
|
||||
(mf/use-callback
|
||||
|
|
Loading…
Add table
Reference in a new issue