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