Pārlūkot izejas kodu

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

Torkel Ödegaard 9 gadi atpakaļ
vecāks
revīzija
b1ed641d73
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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;