- If you have been already a member of this dashboard - Sign in in order to enter the dashboard
+ If you are a member of this dashboard, please sign in.
If you want to be a member of this dashboard - Contact us.
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 6c15cba..e0fd17d 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -128,6 +128,9 @@ export class AppComponent implements OnInit, OnDestroy {
}));
this.route.queryParams.subscribe(params => {
this.view = params['view'];
+ if(this.stakeholder) {
+ this.setSideBar();
+ }
});
this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth <= 640));
this.layoutService.setOpen(!(this.innerWidth && this.innerWidth <= 640));
@@ -277,7 +280,7 @@ export class AppComponent implements OnInit, OnDestroy {
let topicItem: MenuItem = new MenuItem(topic.alias, topic.name, "", '/' + this.stakeholder.alias + '/' + topic.alias,
null, [], [], {}, {svg: topic.icon}, null, null, (
'/' + this.stakeholder.alias + '/' + topic.alias));
- topicItem.items = topic.categories.map(category => {
+ topicItem.items = topic.categories.filter(category => this.hasPermission(category.visibility)).map(category => {
return new MenuItem(category.alias, category.name, "", ('/' + this.stakeholder.alias + '/' + topic.alias + '/' + category.alias),
null, [], [], {}, {svg: topic.icon}, null, null,
('/' + this.stakeholder.alias + '/' + topic.alias + '/' + category.alias));
diff --git a/src/app/monitor/monitor.component.html b/src/app/monitor/monitor.component.html
index 5722641..d9ede50 100644
--- a/src/app/monitor/monitor.component.html
+++ b/src/app/monitor/monitor.component.html
@@ -86,7 +86,7 @@
|| !activeTopic || !activeCategory || !activeSubCategory)" [ngIfElse]="content">
- No indicators available yet. Stay tuned!
+ Nothing to see here!
@@ -103,7 +103,7 @@
{{indicator.name}}
- {{numberResults.get(i + '-' + j) | numberRound}}
+ {{numberResults.get(i + '-' + j) | numberRound: 2:1}}
--
{{indicator.name}}
- {{numberResults.get(i + '-' + j) | numberRound}}
+ {{numberResults.get(i + '-' + j) | numberRound: 2:1}}
--
diff --git a/src/app/topic/topic.component.html b/src/app/topic/topic.component.html
index 6d6e5d7..1da3d53 100644
--- a/src/app/topic/topic.component.html
+++ b/src/app/topic/topic.component.html
@@ -204,12 +204,11 @@