0
Fork 0
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:
alonso.torres 2021-03-26 09:19:26 +01:00
parent c447279c75
commit 19ea7e8b2f
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -320,9 +320,10 @@
on-leaved-success
(mf/use-callback
(mf/deps team profile)
(fn []
(let [team-id (:default-team-id profile)]
(da/set-current-team! team-id)
(st/emit! (rt/nav :dashboard-projects {:team-id team-id}))))
(st/emit! (rt/nav :dashboard-projects {:team-id team-id})))))
leave-fn
(mf/use-callback