mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
reset ownershipOptions on init (#563)
This commit is contained in:
@@ -154,6 +154,9 @@ export class AddEditComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
|
if (this.ownershipOptions.length) {
|
||||||
|
this.ownershipOptions = [];
|
||||||
|
}
|
||||||
if (await this.policyService.policyAppliesToUser(PolicyType.PersonalOwnership)) {
|
if (await this.policyService.policyAppliesToUser(PolicyType.PersonalOwnership)) {
|
||||||
this.allowPersonal = false;
|
this.allowPersonal = false;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user