mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
reset ownershipOptions on init (#563)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user