Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git] / src / app / utilities / switch-project / SwitchProjectComponent.ts
index dffb63a..f3dffcb 100644 (file)
@@ -134,7 +134,9 @@ export class SwitchProjectComponent implements OnInit {
           if (this.router.url.includes('history-operations')) {
             this.router.navigate(['/instances/ns']).then((): void => {
               location.reload();
-            }).catch();
+            }).catch((): void => {
+              // Catch Navigation Error
+          });
           } else {
             location.reload();
           }