1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-25 10:26:00 +02:00

no need for async

This commit is contained in:
Kyle Spearrin 2019-11-07 11:25:20 -05:00
parent 4e9759cd62
commit ef49001418

View File

@ -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();
});