mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 23:19:28 +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*
|
(mf/defc team-members-page*
|
||||||
[{:keys [team profile]}]
|
[{:keys [team profile]}]
|
||||||
(mf/with-effect [team]
|
(mf/with-effect [(:id team)]
|
||||||
(dom/set-html-title
|
(dom/set-html-title
|
||||||
(tr "title.team-members"
|
(tr "title.team-members"
|
||||||
(if (:is-default team)
|
(if (:is-default team)
|
||||||
(tr "dashboard.your-penpot")
|
(tr "dashboard.your-penpot")
|
||||||
(:name team)))))
|
(:name team)))))
|
||||||
|
|
||||||
(mf/with-effect [team]
|
(mf/with-effect [(:id team)]
|
||||||
(st/emit! (dtm/fetch-members)))
|
(st/emit! (dtm/fetch-members)))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
@ -1069,7 +1069,7 @@
|
|||||||
(tr "dashboard.your-penpot")
|
(tr "dashboard.your-penpot")
|
||||||
(:name team)))))
|
(:name team)))))
|
||||||
|
|
||||||
(mf/with-effect [(:id team) (:members team)]
|
(mf/with-effect [(:id team)]
|
||||||
(st/emit! (dtm/fetch-invitations)))
|
(st/emit! (dtm/fetch-invitations)))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user