mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 07:18:38 +00:00
if selectedpage === 'invites' check if there is any pending invitation, if not, set selectedPage to 'members' (#13315)
This commit is contained in:
parent
30c202dbbe
commit
876a7b766c
1 changed files with 1 additions and 0 deletions
|
|
@ -577,6 +577,7 @@ export default {
|
|||
groupId,
|
||||
includeAllPublicFields: true,
|
||||
});
|
||||
if (this.selectedPage === 'invites' && invites.length === 0) this.viewMembers();
|
||||
this.invites = invites;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue