Преглед изворни кода

fix(singlestat): start timer for refreshs

bergquist пре 9 година
родитељ
комит
513aa61d17
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      public/app/features/panel/metrics_panel_ctrl.ts

+ 1 - 0
public/app/features/panel/metrics_panel_ctrl.ts

@@ -82,6 +82,7 @@ class MetricsPanelCtrl extends PanelCtrl {
     this.loading = true;
 
     // load datasource service
+    this.setTimeQueryStart();
     this.datasourceSrv.get(this.panel.datasource)
     .then(this.issueQueries.bind(this))
     .then(this.handleQueryResult.bind(this))