1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 10:33:57 +00:00

Fix org upgrade issues (#3091)

This commit is contained in:
Robyn MacCallum
2022-07-12 13:58:33 -04:00
committed by GitHub
parent 31a5fdbebb
commit a43aa9612c
4 changed files with 31 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ export class OrganizationPlansComponent implements OnInit {
premiumAccessAddon: [false],
additionalStorage: [0, [Validators.min(0), Validators.max(99)]],
additionalSeats: [0, [Validators.min(0), Validators.max(100000)]],
clientOwnerEmail: [""],
clientOwnerEmail: ["", [Validators.email]],
businessName: [""],
plan: [this.plan],
product: [this.product],
@@ -96,6 +96,11 @@ export class OrganizationPlansComponent implements OnInit {
this.changedOwnedBusiness();
}
if (!this.createOrganization) {
this.formGroup.controls.product.setValue(ProductType.Families);
this.changedProduct();
}
this.loading = false;
}