File tree 1 file changed +1
-5
lines changed
src/components/QueryEditor/MetricAggregationsEditor/SettingsEditor
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';
7
7
import { MetricAggregation , ExtendedStat } from '../../../../types' ;
8
8
import { useQuery } from '../../ElasticsearchQueryContext' ;
9
9
import { SettingsEditorContainer } from '../../SettingsEditorContainer' ;
10
- import { isMetricAggregationWithInlineScript , isMetricAggregationWithMissingSupport } from '../aggregations' ;
10
+ import { isMetricAggregationWithMissingSupport } from '../aggregations' ;
11
11
import { changeMetricMeta , changeMetricSetting } from '../state/actions' ;
12
12
import { metricAggregationConfig } from '../utils' ;
13
13
@@ -152,10 +152,6 @@ export const SettingsEditor = ({ metric, previousMetrics }: Props) => {
152
152
</ >
153
153
) }
154
154
155
- { isMetricAggregationWithInlineScript ( metric ) && (
156
- < SettingField label = "Script" metric = { metric } settingName = "script" placeholder = "_value * 1" />
157
- ) }
158
-
159
155
{ isMetricAggregationWithMissingSupport ( metric ) && (
160
156
< SettingField
161
157
label = "Missing"
You can’t perform that action at this time.
0 commit comments