Commit b1ed641d by Torkel Ödegaard

fix(graph): fixed issue with duplicate metric calls when doing full page reload…

fix(graph): fixed issue with duplicate metric calls when doing full page reload of  graph in edit/view mode
parent 6b17cdbc
...@@ -61,7 +61,6 @@ function (angular, $, moment, _, kbn, GraphTooltip, thresholdManExports) { ...@@ -61,7 +61,6 @@ function (angular, $, moment, _, kbn, GraphTooltip, thresholdManExports) {
ctrl.events.on('render', function(renderData) { ctrl.events.on('render', function(renderData) {
data = renderData || data; data = renderData || data;
if (!data) { if (!data) {
ctrl.refresh();
return; return;
} }
annotations = data.annotations || annotations; annotations = data.annotations || annotations;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment