projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git]
/
src
/
app
/
roles
/
RolesComponent.ts
diff --git
a/src/app/roles/RolesComponent.ts
b/src/app/roles/RolesComponent.ts
index
82f20b4
..
49819b4
100644
(file)
--- a/
src/app/roles/RolesComponent.ts
+++ b/
src/app/roles/RolesComponent.ts
@@
-51,8
+51,9
@@
export class RolesComponent {
/** Return to role datails list */
public redirectToList(getURL: string): void {
if (getURL === '/roles') {
/** Return to role datails list */
public redirectToList(getURL: string): void {
if (getURL === '/roles') {
- this.router.navigate(['/roles/details']).catch();
+ this.router.navigate(['/roles/details']).catch((): void => {
+ // Catch Navigation Error
+ });
}
}
}
}
-
}
}