fixed page access so it would not go to the default page

This commit is contained in:
VUAGNAT Benoit DSCS/DSEC 2021-05-14 22:43:49 +02:00
parent faf2dbf276
commit 6b2760c06a

View File

@ -210,14 +210,15 @@ const routes: Routes = [
component: WebConsoleFullWindowComponent,
canActivate: [LoginGuard]
},
{
path: '**',
component: PageNotFoundComponent,
},
{
path: 'user_management',
component: UserManagementComponent
},
{
path: '**',
component: PageNotFoundComponent,
}
];
@NgModule({