1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[AC-1797] Prevent billing email/business name update for resellers (#7042)

* Prevent billing email/business name updates for reseller

* Enable business name based on CS feedback

* Fixed prettier issue
This commit is contained in:
Alex Morask
2023-12-11 10:26:43 -05:00
committed by GitHub
parent ea9cc85f7f
commit 4f9120576d

View File

@@ -122,13 +122,13 @@ export class AccountComponent {
// Update disabled states - reactive forms prefers not using disabled attribute
if (!this.selfHosted) {
this.formGroup.get("orgName").enable();
this.formGroup.get("businessName").enable();
this.collectionManagementFormGroup.get("limitCollectionCreationDeletion").enable();
this.collectionManagementFormGroup.get("allowAdminAccessToAllCollectionItems").enable();
}
if (!this.selfHosted || this.canEditSubscription) {
if (!this.selfHosted && this.canEditSubscription) {
this.formGroup.get("billingEmail").enable();
this.formGroup.get("businessName").enable();
}
// Org Response