diff --git a/src/angular/components/add-edit.component.ts b/src/angular/components/add-edit.component.ts index 3a2f42ed07..607c95b691 100644 --- a/src/angular/components/add-edit.component.ts +++ b/src/angular/components/add-edit.component.ts @@ -132,6 +132,10 @@ export class AddEditComponent implements OnInit { } async ngOnInit() { + await this.init(); + } + + async init() { const myEmail = await this.userService.getEmail(); this.ownershipOptions.push({ name: myEmail, value: null }); const orgs = await this.userService.getAllOrganizations();