[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
This commit is contained in:
Argiro Kokogiannaki 2020-11-05 08:26:05 +00:00
parent 80c88075b9
commit 62fbea02fa
2 changed files with 4 additions and 3 deletions

View File

@ -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,

View File

@ -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 {