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