Fixed downloads routing

This commit is contained in:
Adina Țeudan 2021-04-13 19:13:22 +03:00
parent bd3c352b66
commit 8e421ec49b

View File

@ -63,8 +63,14 @@ const routes = [
loadChildren: () => import('./modules/projects/projects.module').then((m) => m.ProjectsModule)
},
{
path: 'downloads',
component: DownloadsListScreenComponent,
path: 'ui/downloads',
component: BaseScreenComponent,
children: [
{
path: '',
component: DownloadsListScreenComponent
}
],
canActivate: [CompositeRouteGuard],
data: {
routeGuards: [AuthGuard, RedRoleGuard, AppStateGuard]