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 {