From 6b2760c06a625780667369d82c6769a8f330a50a Mon Sep 17 00:00:00 2001 From: VUAGNAT Benoit DSCS/DSEC Date: Fri, 14 May 2021 22:43:49 +0200 Subject: [PATCH] fixed page access so it would not go to the default page --- src/app/app-routing.module.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index f5fd3e5e..a4292aee 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -210,14 +210,15 @@ const routes: Routes = [ component: WebConsoleFullWindowComponent, canActivate: [LoginGuard] }, - { - path: '**', - component: PageNotFoundComponent, - }, { path: 'user_management', component: UserManagementComponent + }, + { + path: '**', + component: PageNotFoundComponent, } + ]; @NgModule({