From 7dae65daee78c73c993cf1826bbb9dfd52adaec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Tom=C3=A9?= <108268980+r-tome@users.noreply.github.com> Date: Fri, 11 Nov 2022 17:47:47 +0000 Subject: [PATCH] [EC-746] Call BaseAddEditComponent.ngOnInit on Desktop AddEditComponent (#4044) --- apps/desktop/src/app/vault/add-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/app/vault/add-edit.component.ts b/apps/desktop/src/app/vault/add-edit.component.ts index 5a2153fadc..38f49f9bc6 100644 --- a/apps/desktop/src/app/vault/add-edit.component.ts +++ b/apps/desktop/src/app/vault/add-edit.component.ts @@ -61,6 +61,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges, } async ngOnInit() { + await super.ngOnInit(); this.broadcasterService.subscribe(BroadcasterSubscriptionId, async (message: any) => { this.ngZone.run(() => { switch (message.command) { @@ -75,7 +76,6 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges, } async ngOnChanges() { - await super.init(); await this.load(); }