From 62fbea02fa2c8fcea45c9f496732fd48cd24db1d Mon Sep 17 00:00:00 2001 From: Argiro Kokogiannaki Date: Thu, 5 Nov 2020 08:26:05 +0000 Subject: [PATCH] [Monitor Dashboard|Trunk] - remove helptexts call from monitor - updates for sidebar git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59777 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.ts | 5 +++-- src/app/monitor/monitor.component.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index c754b82..32797b7 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -124,7 +124,7 @@ export class AppComponent implements OnInit, OnDestroy { } else { this.activeTopic = this.stakeholder.topics.find(topic => this.isPublicOrIsMember(topic.visibility)); } - this.setSideBar(); + // this.setSideBar(); this.loading = false; } else { LinksResolver.resetProperties(); @@ -218,14 +218,15 @@ export class AppComponent implements OnInit, OnDestroy { this.adminMenuItems = []; this.userMenuItems = []; if (this.user) { - this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {})); if (this.isCurator()) { this.userMenuItems.push(new MenuItem("", "Manage profiles", "", "/admin", false, [], [], {})); } + this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {})); } if (this.stakeholder) { if (this.isFrontPage) { + this.setSideBar(); this.menuHeader = { route: "/" + this.stakeholder.alias, url: null, diff --git a/src/app/monitor/monitor.component.ts b/src/app/monitor/monitor.component.ts index c3d4458..f47cbf5 100644 --- a/src/app/monitor/monitor.component.ts +++ b/src/app/monitor/monitor.component.ts @@ -142,7 +142,7 @@ export class MonitorComponent implements OnInit, OnDestroy { } if(this.isPublicOrIsMember(stakeholder.visibility)) { //this.getDivContents(); - this.getPageContents(); + // this.getPageContents(); this.status = this.errorCodes.DONE; this.setView(params); } else {