no need for async
This commit is contained in:
parent
4e9759cd62
commit
ef49001418
|
@ -626,7 +626,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
private functionWithChangeDetection(func: Function) {
|
private functionWithChangeDetection(func: Function) {
|
||||||
this.ngZone.run(async () => {
|
this.ngZone.run(() => {
|
||||||
func();
|
func();
|
||||||
this.changeDetectorRef.detectChanges();
|
this.changeDetectorRef.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue