diff --git a/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx b/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx index d27110bb81a5d..d9d76ac895db0 100644 --- a/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx +++ b/src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx @@ -132,7 +132,7 @@ export default class IndexPatternSelect extends Component { - return this.props.fieldTypes.includes(field.type); + return this.props.fieldTypes!.includes(field.type); }); if (!hasRequiredFieldTypes) { continue;