diff --git a/src/app/topic/indicators.component.ts b/src/app/topic/indicators.component.ts index 0d286aa..789b12e 100644 --- a/src/app/topic/indicators.component.ts +++ b/src/app/topic/indicators.component.ts @@ -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(); } }));