From 9ee34e404e443ead074158d20fb072e23a80ff0d Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Fri, 22 Jun 2018 09:56:52 +0100 Subject: [PATCH] remove 404 check in demo shell --- demo-shell/src/app/app.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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']); }