remain on party invites tab after removing invite - fixes #11523 (#11548)

* fixed party members view to remain on invites tab after removing invite if any remain

* removed redundant viewInvites() call
This commit is contained in:
alicemliu 2019-11-29 14:09:03 -05:00 committed by Matteo Pagliazzi
parent b108b047cd
commit 59c4b32d69

View file

@ -655,7 +655,7 @@ export default {
memberId: member._id,
groupId: this.groupId,
});
this.viewMembers();
if (this.invites.length === 0) this.viewMembers();
},
async promoteToLeader (member) {
const groupData = { ...this.group };