mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
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
Block a user