mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00: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:
@@ -401,6 +401,12 @@ export abstract class BasePeopleComponent<
|
|||||||
this.users.splice(index, 1);
|
this.users.splice(index, 1);
|
||||||
this.resetPaging();
|
this.resetPaging();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
index = this.allUsers.indexOf(user);
|
||||||
|
if (index > -1) {
|
||||||
|
this.allUsers.splice(index, 1);
|
||||||
|
}
|
||||||
|
|
||||||
if (this.statusMap.has(user.status)) {
|
if (this.statusMap.has(user.status)) {
|
||||||
index = this.statusMap.get(user.status).indexOf(user);
|
index = this.statusMap.get(user.status).indexOf(user);
|
||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user