RED-9508 - Page not responsive after switching Dossier view from active to archived
This commit is contained in:
parent
66831fe655
commit
3a3973744f
@ -78,7 +78,7 @@ const dossierTemplateIdRoutes: IqserRoutes = [
|
||||
{
|
||||
path: `${ARCHIVE_ROUTE}`,
|
||||
loadChildren: () => import('./modules/archive/archive.routes'),
|
||||
canActivate: [CompositeRouteGuard, webViewerLoadedGuard(), loadArchivedDossiersGuard()],
|
||||
canActivate: [CompositeRouteGuard, loadArchivedDossiersGuard()],
|
||||
data: {
|
||||
routeGuards: [FeaturesGuard],
|
||||
features: [DOSSIERS_ARCHIVE],
|
||||
|
||||
@ -4,6 +4,7 @@ import { CompositeRouteGuard, IqserRoutes } from '@iqser/common-ui';
|
||||
import { ARCHIVED_DOSSIERS_SERVICE } from '../../tokens';
|
||||
import { DossierFilesGuard } from '@guards/dossier-files-guard';
|
||||
import { ConfigService } from './services/config.service';
|
||||
import { webViewerLoadedGuard } from '../pdf-viewer/services/webviewer-loaded.guard';
|
||||
|
||||
export default [
|
||||
{
|
||||
@ -32,7 +33,7 @@ export default [
|
||||
},
|
||||
{
|
||||
path: `:${DOSSIER_ID}/file/:${FILE_ID}`,
|
||||
canActivate: [CompositeRouteGuard],
|
||||
canActivate: [CompositeRouteGuard, webViewerLoadedGuard()],
|
||||
data: {
|
||||
routeGuards: [DossierFilesGuard],
|
||||
breadcrumbs: [BreadcrumbTypes.dossierTemplate, BreadcrumbTypes.dossier, BreadcrumbTypes.file],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user