SG-903 - AllUsers count now updated on user remove which fixes issue with web/org/manage/people comp showing upgrade modal even after a user has been removed. (#4294)
This commit is contained in:
parent
772513c673
commit
9ed195c9f9
|
@ -401,6 +401,12 @@ export abstract class BasePeopleComponent<
|
|||
this.users.splice(index, 1);
|
||||
this.resetPaging();
|
||||
}
|
||||
|
||||
index = this.allUsers.indexOf(user);
|
||||
if (index > -1) {
|
||||
this.allUsers.splice(index, 1);
|
||||
}
|
||||
|
||||
if (this.statusMap.has(user.status)) {
|
||||
index = this.statusMap.get(user.status).indexOf(user);
|
||||
if (index > -1) {
|
||||
|
|
Loading…
Reference in New Issue