mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
Small fix, removed test code change
This commit is contained in:
parent
7194e91d3b
commit
715b9cbad0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user