瀏覽代碼

fix(graph): fixed issue with duplicate metric calls when doing full page reload of graph in edit/view mode

Torkel Ödegaard 9 年之前
父節點
當前提交
b1ed641d73
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      public/app/plugins/panel/graph/graph.js

+ 0 - 1
public/app/plugins/panel/graph/graph.js

@@ -61,7 +61,6 @@ function (angular, $, moment, _, kbn, GraphTooltip, thresholdManExports) {
         ctrl.events.on('render', function(renderData) {
           data = renderData || data;
           if (!data) {
-            ctrl.refresh();
             return;
           }
           annotations = data.annotations || annotations;