mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #3417 from mtanda/cloudwatch_dimension_filter_fix
(cloudwatch) null check of dimension
This commit is contained in:
@@ -129,7 +129,7 @@ function (angular, _) {
|
|||||||
.pluck('Dimensions')
|
.pluck('Dimensions')
|
||||||
.flatten()
|
.flatten()
|
||||||
.filter(function(dimension) {
|
.filter(function(dimension) {
|
||||||
return dimension.Name === dimensionKey;
|
return dimension !== null && dimension.Name === dimensionKey;
|
||||||
})
|
})
|
||||||
.pluck('Value')
|
.pluck('Value')
|
||||||
.uniq()
|
.uniq()
|
||||||
|
|||||||
Reference in New Issue
Block a user