diff --git a/demo-shell/src/app/app.component.ts b/demo-shell/src/app/app.component.ts index 5bbf7b559c..a1bebfd3c6 100644 --- a/demo-shell/src/app/app.component.ts +++ b/demo-shell/src/app/app.component.ts @@ -38,10 +38,7 @@ export class AppComponent implements OnInit { this.pageTitleService.setTitle('title'); this.alfrescoApiService.getInstance().on('error', (error) => { - - if (error.status === 404) { - this.router.navigate(['/error', error.status]); - } else if (error.status === 401) { + if (error.status === 401) { if (!this.authenticationService.isLoggedIn()) { this.router.navigate(['/login']); }