fixed annoying undefined length error

This commit is contained in:
Ian Babrou 2014-03-31 18:53:43 +04:00
parent b1b54740f4
commit e3b046aecf

View File

@ -318,9 +318,9 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
if (last - from < -10000) { if (last - from < -10000) {
$scope.datapointsOutside = true; $scope.datapointsOutside = true;
} }
}
$scope.datapointsCount += datapoints.length; $scope.datapointsCount += datapoints.length;
}
return series; return series;
}; };