Some promise fixes (#8216)

* Some promise fixes

* changes to how we're logging errors

* Fix the tests

* Fix a few other issues
This commit is contained in:
Amir Omidi
2019-11-05 11:50:39 -08:00
committed by GitHub
parent 5a392dfd58
commit 1b88c10197
6 changed files with 73 additions and 66 deletions

View File

@@ -52,7 +52,7 @@ export class BreadcrumbComponent implements OnInit, OnDestroy {
this._changeRef.detectChanges();
}
public route(link: any[]): void {
this._router.navigate(link);
public route(link: any[]): Promise<boolean> {
return this._router.navigate(link);
}
}