[Monitor Dashboard | Trunk]: Fix a bug with indicators on topic changed.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60245 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
78842d9e58
commit
957934730c
|
@ -91,6 +91,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV
|
|||
public sectionTypeToDelete: string;
|
||||
public sectionChildrenActionOnDelete: string;
|
||||
public indicatorChildrenActionOnDelete: string;
|
||||
private firstLoad: boolean = true;
|
||||
|
||||
urlParameterizedMessage = null;
|
||||
|
||||
|
@ -113,8 +114,11 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV
|
|||
if (this.stakeholder) {
|
||||
this.buildFilters();
|
||||
this.buildSections();
|
||||
this.filterCharts();
|
||||
this.filterNumbers();
|
||||
if(this.firstLoad) {
|
||||
this.filterCharts();
|
||||
this.filterNumbers();
|
||||
this.firstLoad = false;
|
||||
}
|
||||
this.setPreview();
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue