[Monitor Dashboard|Trunk]

Fix app routing issues



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58014 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
Argiro Kokogiannaki 2020-01-22 11:06:12 +00:00
parent c02f5aaeda
commit fea9aad749
1 changed files with 10 additions and 10 deletions

View File

@ -105,29 +105,29 @@ const routes: Routes = [
}, },
{ {
path: 'pageContents', path: 'pageContents',
loadChildren: './opages/helpcontent/page-help-contents.module#PageHelpContentsModule', loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
resolve: { envSpecific: EnvironmentSpecificResolver }, resolve: { envSpecific: EnvironmentSpecificResolver },
data: {hasAdminMenu: true} data: {hasAdminMenu: true}
}, },
{ {
path: 'pageContents/new', path: 'pageContents/new',
loadChildren: './pages/helpcontent/new-page-help-content.module#NewPageHelpContentModule', loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
resolve: { envSpecific: EnvironmentSpecificResolver }, resolve: { envSpecific: EnvironmentSpecificResolver },
data: {hasAdminMenu: true} data: {hasAdminMenu: true}
}, },
{ {
path: 'pageContents/edit', path: 'pageContents/edit',
loadChildren: './pages/helpcontent/edit-page-help-content.module#EditPageHelpContentModule', loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
resolve: { envSpecific: EnvironmentSpecificResolver },
data: {hasAdminMenu: true}
},
{
path: 'htmlPageContent/edit',
loadChildren: './pages/htmlpagecontent/edit-html-page-content.module#EditHtmlPageContentModule',
resolve: { envSpecific: EnvironmentSpecificResolver }, resolve: { envSpecific: EnvironmentSpecificResolver },
data: {hasAdminMenu: true} data: {hasAdminMenu: true}
}, },
//
// {
// path: 'htmlPageContent/edit',
// loadChildren: './pages/htmlpagecontent/edit-html-page-content.module#EditHtmlPageContentModule',
// resolve: { envSpecific: EnvironmentSpecificResolver },
// data: {hasAdminMenu: true}
// },
{ {
path: '', path: '',
loadChildren: './monitor/monitor.module#MonitorModule', loadChildren: './monitor/monitor.module#MonitorModule',