Browse Source

this.range is undefined #191

master
rozetko 6 years ago
parent
commit
79fd7c4f69
  1. 3
      src/panel/graph_panel/graph_ctrl.ts

3
src/panel/graph_panel/graph_ctrl.ts

@ -272,6 +272,9 @@ class GraphCtrl extends MetricsPanelCtrl {
await this.analyticsController.removeAnalyticUnit(analyticUnit.id, true);
}
if(analyticUnit.status === 'READY') {
if(this.range === undefined) {
this.updateTimeRange();
}
await this.analyticsController.fetchSegments(analyticUnit, +this.range.from, +this.range.to);
}
this.render(this.seriesList);

Loading…
Cancel
Save