Browse Source

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

Torkel Ödegaard 9 năm trước cách đây
mục cha
commit
b1ed641d73
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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;