mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Cloudwatch fix for dimension value (#16356)
Fixes autocomplete suggestion after changing dimension key Fixes #15984
This commit is contained in:
parent
4e547980fb
commit
58eb74660d
@ -112,6 +112,7 @@ export class CloudWatchQueryParameterCtrl {
|
||||
query = $scope.datasource.getDimensionKeys($scope.target.namespace, $scope.target.region);
|
||||
} else if (segment.type === 'value') {
|
||||
const dimensionKey = $scope.dimSegments[$index - 2].value;
|
||||
delete target.dimensions[dimensionKey];
|
||||
query = $scope.datasource.getDimensionValues(
|
||||
target.region,
|
||||
target.namespace,
|
||||
|
Loading…
Reference in New Issue
Block a user