mirror of
https://github.com/penpot/penpot.git
synced 2026-05-24 09:23:40 +00:00
🐛 Fix team members request loop on dashboard
This commit is contained in:
parent
d7a50735ba
commit
df0a58af93
@ -540,14 +540,14 @@
|
||||
|
||||
(mf/defc team-members-page*
|
||||
[{:keys [team profile]}]
|
||||
(mf/with-effect [team]
|
||||
(mf/with-effect [(:id team)]
|
||||
(dom/set-html-title
|
||||
(tr "title.team-members"
|
||||
(if (:is-default team)
|
||||
(tr "dashboard.your-penpot")
|
||||
(:name team)))))
|
||||
|
||||
(mf/with-effect [team]
|
||||
(mf/with-effect [(:id team)]
|
||||
(st/emit! (dtm/fetch-members)))
|
||||
|
||||
[:*
|
||||
@ -1069,7 +1069,7 @@
|
||||
(tr "dashboard.your-penpot")
|
||||
(:name team)))))
|
||||
|
||||
(mf/with-effect [(:id team) (:members team)]
|
||||
(mf/with-effect [(:id team)]
|
||||
(st/emit! (dtm/fetch-invitations)))
|
||||
|
||||
[:*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user