From ef490014181bd6cdaa7c00cab5c1d1af89fa0e66 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 7 Nov 2019 11:25:20 -0500 Subject: [PATCH] no need for async --- src/app/vault/vault.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index 589e4bfa..3e481172 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -626,7 +626,7 @@ export class VaultComponent implements OnInit, OnDestroy { } private functionWithChangeDetection(func: Function) { - this.ngZone.run(async () => { + this.ngZone.run(() => { func(); this.changeDetectorRef.detectChanges(); });