File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/plugins/vis_type_timeseries/public/application/components/aggs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import { createChangeHandler } from '../lib/create_change_handler';
2626import { createSelectHandler } from '../lib/create_select_handler' ;
2727import { createTextHandler } from '../lib/create_text_handler' ;
2828import { CalculationVars , newVariable } from './vars' ;
29+ import { METRIC_TYPES } from '../../../../common/metric_types' ;
2930import { FormattedMessage } from '@kbn/i18n/react' ;
3031
3132import {
@@ -99,7 +100,7 @@ export function CalculationAgg(props) {
99100 onChange = { handleChange }
100101 name = "variables"
101102 model = { model }
102- exclude = { [ 'top_hit' ] }
103+ exclude = { [ METRIC_TYPES . TOP_HIT ] }
103104 />
104105 </ EuiFlexItem >
105106
You can’t perform that action at this time.
0 commit comments