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

This commit is contained in:
Torkel Ödegaard 2016-09-06 09:20:34 +02:00
parent 6b17cdbca6
commit b1ed641d73

View File

@ -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;