mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Small fix, removed test code change
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user