mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
init function
This commit is contained in:
parent
aa0b274f8f
commit
a98a8bda9b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user