No indicators available yet. Stay tuned!
@@ -107,23 +130,6 @@
0) ||
- (activeCategory && activeCategory.description && activeCategory.description.length > 0) ||
- (activeTopic && activeTopic.description && activeTopic.description.length > 0))"
- class="">
-
-
- {{activeSubCategory.description && activeSubCategory.description.length > 0 ? activeSubCategory.description
- : (activeCategory.description && activeCategory.description.length > 0 ? activeCategory.description :
- (activeTopic.description && activeTopic.description.length > 0 ? activeTopic.description : ""))}}
-
-
-
{
this.user = user;
- this.buildMenu();
this.route.params.subscribe(params => {
+ this.loading = true;
if (subscription) {
subscription.unsubscribe();
}
@@ -99,6 +99,8 @@ export class MonitorComponent implements OnInit, OnDestroy, IDeactivateComponent
this.route.queryParams.subscribe(params => {
this.isViewPublic = (params['view'] == 'public');
});
+ this.buildMenu();
+
if (!this.stakeholder || this.stakeholder.alias !== params['stakeholder']) {
this.status = this.errorCodes.LOADING;
this.numberResults = new Map();
@@ -293,6 +295,7 @@ export class MonitorComponent implements OnInit, OnDestroy, IDeactivateComponent
items.push(new MenuItem('noCategories', 'No categories available yet', "", "", false, [], [], {}));
}
this.sideBarItems = items;
+ this.loading = false;
}
private setIndicators() {