diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 9e77dc994..3943c365b 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -246,6 +246,19 @@ export const APP_ROUTES: Routes = [ loadChildren: () => import('./components/viewer/viewer.module').then((m) => m.AppViewerModule) } ] + }, + { + path: 'view/:nodeId/:versionId', + outlet: 'viewer', + children: [ + { + path: '', + data: { + navigateSource: 'libraries' + }, + loadChildren: () => import('./components/viewer/viewer.module').then((m) => m.AppViewerModule) + } + ] } ] }, @@ -290,6 +303,19 @@ export const APP_ROUTES: Routes = [ loadChildren: () => import('./components/viewer/viewer.module').then((m) => m.AppViewerModule) } ] + }, + { + path: 'view/:nodeId/:versionId', + outlet: 'viewer', + children: [ + { + path: '', + data: { + navigateSource: 'libraries' + }, + loadChildren: () => import('./components/viewer/viewer.module').then((m) => m.AppViewerModule) + } + ] } ] },