[Monitor Dashboard | Trunk]: Remove data: hasAdminMenu: false, is Default

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57952 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
Konstantinos Triantafyllou 2019-12-24 09:38:02 +00:00
parent 2ce488027a
commit 8452c07c43
2 changed files with 0 additions and 5 deletions

View File

@ -33,13 +33,11 @@ const routes: Routes = [
path: 'admin/:stakeholder',
loadChildren: './stakeholder/stakeholder.module#StakeholderModule',
resolve: {envSpecific: EnvironmentSpecificResolver},
data: {hasAdminMenu: false}
},
{
path: 'admin/:stakeholder/:topic',
loadChildren: './topic/topic.module#TopicModule',
resolve: {envSpecific: EnvironmentSpecificResolver},
data: {hasAdminMenu: false}
},
/* Library paths*/
@ -134,8 +132,6 @@ const routes: Routes = [
path: '',
loadChildren: './monitor/monitor.module#MonitorModule',
resolve: {envSpecific: EnvironmentSpecificResolver},
data: {hasAdminMenu: false, }
},
{
path: '**',

View File

@ -130,7 +130,6 @@ export class AppComponent implements OnInit, OnDestroy {
monitorOptions.items.push(new MenuItem("classes", "Class help texts", "", "/classContents", false, [], [], {communityId: 'openaire'}));
monitorOptions.items.push(new MenuItem("helptexts", "Help texts", "", "/helptexts", false, [], [], {communityId: 'openaire'}));
this.adminMenuItems.push(monitorOptions);
// this.adminMenuItems.push(new Item("pages", "Pages", "/pages", [], null, false));
// this.adminMenuItems.push(new Item("monitor", "Monitor", "/portals", [], null, false));
// this.adminMenuItems.push(new Item("entities", "Entities", "/entities", [], null, false));