mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 22:44:11 +00:00
Update variable name
This commit is contained in:
@@ -103,13 +103,13 @@ describe("orgSeatLimitReachedValidator", () => {
|
||||
});
|
||||
const errorMessage = "You cannot invite more than 2 members without upgrading your plan.";
|
||||
|
||||
const activeUserCount = 1;
|
||||
const occupiedSeatCount = 1;
|
||||
|
||||
validatorFn = orgSeatLimitReachedValidator(
|
||||
organization,
|
||||
allOrganizationUserEmails,
|
||||
"You cannot invite more than 2 members without upgrading your plan.",
|
||||
activeUserCount,
|
||||
occupiedSeatCount,
|
||||
);
|
||||
const control = new FormControl("user2@example.com,user3@example.com");
|
||||
|
||||
|
||||
@@ -492,7 +492,7 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
|
||||
// User attempting to invite new users in a free org with max users
|
||||
if (
|
||||
!user &&
|
||||
this.dataSource.activeUserCount === this.organization.seats &&
|
||||
this.dataSource.occupiedSeatCount === this.organization.seats &&
|
||||
isFixedSeatPlan(this.organization.productTierType)
|
||||
) {
|
||||
const reference = openChangePlanDialog(this.dialogService, {
|
||||
|
||||
Reference in New Issue
Block a user