X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Finstances%2FInstancesComponent.ts;h=41860785c5b84d974e2039e7fa7b62e339e6a3bf;hb=0a34dfa32165036b380ec6ac493469b34007df0a;hp=fe46d8cb46403eda8887cf03a0f904d5e2f622d8;hpb=3b4814aa2d3dec621dadb52f058ba95a3dc3a86a;p=osm%2FNG-UI.git diff --git a/src/app/instances/InstancesComponent.ts b/src/app/instances/InstancesComponent.ts index fe46d8c..4186078 100644 --- a/src/app/instances/InstancesComponent.ts +++ b/src/app/instances/InstancesComponent.ts @@ -49,7 +49,9 @@ export class InstancesComponent { /** Return to list NS Package List */ public redirectToList(getURL: string): void { if (getURL === '/instances') { - this.router.navigate(['/instances/ns']).catch(); + this.router.navigate(['/instances/ns']).catch((): void => { + // Catch Navigation Error + }); } } }