mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CloudWatch: Annotations query editor loading fix (#20687)
* Re-adding lost import * Make sure wildcard is not in annotations editor
This commit is contained in:
@@ -159,6 +159,7 @@ export class QueryEditor extends PureComponent<Props, State> {
|
||||
const { [newKey]: value, ...newDimensions } = query.dimensions;
|
||||
return datasource
|
||||
.getDimensionValues(query.region, query.namespace, query.metricName, newKey, newDimensions)
|
||||
.then(values => (values.length ? [{ value: '*', text: '*', label: '*' }, ...values] : values))
|
||||
.then(this.appendTemplateVariables);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user