1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

Update variable name

This commit is contained in:
Jimmy Vo
2024-12-04 16:50:20 -05:00
parent 9b215727af
commit 561d10364c
2 changed files with 3 additions and 3 deletions

View File

@@ -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");

View File

@@ -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, {