mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[PM-13755] Exclude revoked users from the occupied seats count (#12277)
It also includes a refactor to decouple the invite and edit user flows.
This commit is contained in:
@@ -93,17 +93,16 @@ export class MemberAccessReportComponent implements OnInit {
|
||||
});
|
||||
};
|
||||
|
||||
edit = async (user: MemberAccessReportView | null): Promise<void> => {
|
||||
edit = async (user: MemberAccessReportView): Promise<void> => {
|
||||
const dialog = openUserAddEditDialog(this.dialogService, {
|
||||
data: {
|
||||
kind: "Edit",
|
||||
name: this.userNamePipe.transform(user),
|
||||
organizationId: this.organizationId,
|
||||
organizationUserId: user != null ? user.userGuid : null,
|
||||
allOrganizationUserEmails: this.dataSource.data?.map((user) => user.email) ?? [],
|
||||
usesKeyConnector: user?.usesKeyConnector,
|
||||
organizationUserId: user.userGuid,
|
||||
usesKeyConnector: user.usesKeyConnector,
|
||||
isOnSecretsManagerStandalone: this.orgIsOnSecretsManagerStandalone,
|
||||
initialTab: MemberDialogTab.Role,
|
||||
numSeatsUsed: this.dataSource.data.length,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user