From b112be369b4efa9dd267989d986c427cfd019209 Mon Sep 17 00:00:00 2001 From: Ester Marti Date: Thu, 22 Apr 2021 17:44:45 +0200 Subject: [PATCH] Fix unit --- .../MetricAggregationsEditor/SettingsEditor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx index dadecbda697..0a8717538f4 100644 --- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx +++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx @@ -34,7 +34,7 @@ export const SettingsEditor: FunctionComponent = ({ metric, previousMetri const query = useQuery(); const rateAggUnitOptions = [ - { value: 'seconds', label: 'Seconds' }, + { value: 'second', label: 'Seconds' }, { value: 'minute', label: 'Minute' }, { value: 'hour', label: 'Hour' }, { value: 'day', label: 'Day' },