Project

General

Profile

« Previous | Next » 

Revision 60245

[Monitor Dashboard | Trunk]: Fix a bug with indicators on topic changed.

View differences:

modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/topic/indicators.component.ts
91 91
  public sectionTypeToDelete: string;
92 92
  public sectionChildrenActionOnDelete: string;
93 93
  public indicatorChildrenActionOnDelete: string;
94
  private firstLoad: boolean = true;
94 95
  
95 96
  urlParameterizedMessage = null;
96 97
  
......
113 114
      if (this.stakeholder) {
114 115
        this.buildFilters();
115 116
        this.buildSections();
116
        this.filterCharts();
117
        this.filterNumbers();
117
        if(this.firstLoad) {
118
          this.filterCharts();
119
          this.filterNumbers();
120
          this.firstLoad = false;
121
        }
118 122
        this.setPreview();
119 123
      }
120 124
    }));

Also available in: Unified diff