mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
no need for async
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user