diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/index.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/index.tsx index 841d12e634a..0f8dc087495 100644 --- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/index.tsx +++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/index.tsx @@ -21,7 +21,7 @@ export const BucketAggregationsEditor: FunctionComponent = ({ nextId }) = <> {bucketAggs!.map((bucketAgg, index) => ( 1 && (() => dispatch(removeBucketAggregation(bucketAgg.id)))} > diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/index.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/index.tsx index 8c81bcc81be..73ac3ea9e21 100644 --- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/index.tsx +++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/index.tsx @@ -22,7 +22,7 @@ export const MetricAggregationsEditor: FunctionComponent = ({ nextId }) = <> {metrics?.map((metric, index) => (