From 7580efb93432cfd01f7514ab6cd42a4fe3e626ad Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Mon, 27 Mar 2023 12:19:30 +0300 Subject: [PATCH] RED-6472: Fixed archived dossiers not always loaded in search screen. --- apps/red-ui/src/app/app-routing.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/app-routing.module.ts b/apps/red-ui/src/app/app-routing.module.ts index e118d9941..a42c3cb55 100644 --- a/apps/red-ui/src/app/app-routing.module.ts +++ b/apps/red-ui/src/app/app-routing.module.ts @@ -162,7 +162,7 @@ const routes: IqserRoutes = [ loadChildren: () => import('./modules/search/search.module').then(m => m.SearchModule), canActivate: [CompositeRouteGuard, IqserPermissionsGuard], data: { - routeGuards: [IqserAuthGuard, RedRoleGuard], + routeGuards: [IqserAuthGuard, RedRoleGuard, DossiersGuard], permissions: { allow: [ROLES.search], redirectTo: '/auth-error',