File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/components/QueryEditor/MetricAggregationsEditor/SettingsEditor Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { extendedStats } from '../../../../queryDef';
77import { MetricAggregation , ExtendedStat } from '../../../../types' ;
88import { useQuery } from '../../ElasticsearchQueryContext' ;
99import { SettingsEditorContainer } from '../../SettingsEditorContainer' ;
10- import { isMetricAggregationWithInlineScript , isMetricAggregationWithMissingSupport } from '../aggregations' ;
10+ import { isMetricAggregationWithMissingSupport } from '../aggregations' ;
1111import { changeMetricMeta , changeMetricSetting } from '../state/actions' ;
1212import { metricAggregationConfig } from '../utils' ;
1313
@@ -152,10 +152,6 @@ export const SettingsEditor = ({ metric, previousMetrics }: Props) => {
152152 </ >
153153 ) }
154154
155- { isMetricAggregationWithInlineScript ( metric ) && (
156- < SettingField label = "Script" metric = { metric } settingName = "script" placeholder = "_value * 1" />
157- ) }
158-
159155 { isMetricAggregationWithMissingSupport ( metric ) && (
160156 < SettingField
161157 label = "Missing"
You can’t perform that action at this time.
0 commit comments