From 8452c07c43a7287d2d58c80b522364acaa0e94b3 Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Tue, 24 Dec 2019 09:38:02 +0000 Subject: [PATCH] [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 --- src/app/app-routing.module.ts | 4 ---- src/app/app.component.ts | 1 - 2 files changed, 5 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 6dccb4e..c32329e 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -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: '**', diff --git a/src/app/app.component.ts b/src/app/app.component.ts index bcd2af1..1f179f3 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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));