Small fix, removed test code change

This commit is contained in:
Torkel Ödegaard 2014-12-11 09:44:45 -08:00
parent 7194e91d3b
commit 715b9cbad0

View File

@ -173,8 +173,8 @@ function (angular, app, _, TimeSeries, kbn, PanelMeta) {
}
else {
var series = $scope.series[0];
data.mainValue = 0;
data.mainValueFormated = '0';
data.mainValue = series.stats[$scope.panel.valueName];
data.mainValueFormated = $scope.getFormatedValue(data.mainValue);
data.flotpairs = series.flotpairs;
}