mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[Policy] Update Personal Ownership checkbox description (#767)
* Initial commit of enabled checkbox description update * Updated requested changes * Fixed merge conflict
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled"
|
||||
name="Enabled">
|
||||
<label class="form-check-label" for="enabled">{{'enabled' | i18n}}</label>
|
||||
<label class="form-check-label" for="enabled">{{checkboxDesc}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<ng-container *ngIf="type === policyType.MasterPassword">
|
||||
|
||||
@@ -172,6 +172,11 @@ export class PolicyEditComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
get checkboxDesc(): string {
|
||||
return this.type === PolicyType.PersonalOwnership ? this.i18nService.t('personalOwnershipCheckboxDesc') :
|
||||
this.i18nService.t('enabled');
|
||||
}
|
||||
|
||||
private preValidate(): boolean {
|
||||
switch (this.type) {
|
||||
case PolicyType.RequireSso:
|
||||
|
||||
Reference in New Issue
Block a user