mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added radix rule and changed files to follow rule (#13153)
This commit is contained in:
committed by
Torkel Ödegaard
parent
5d87aa2fa4
commit
2b74b1c4d6
@@ -177,7 +177,7 @@ export class ElasticMetricAggCtrl {
|
||||
const id = _.reduce(
|
||||
$scope.target.bucketAggs.concat($scope.target.metrics),
|
||||
(max, val) => {
|
||||
return parseInt(val.id) > max ? parseInt(val.id) : max;
|
||||
return parseInt(val.id, 10) > max ? parseInt(val.id, 10) : max;
|
||||
},
|
||||
0
|
||||
);
|
||||
|
Reference in New Issue
Block a user