Skip to content

Commit

Permalink
tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 8, 2021
1 parent 87072c8 commit 50b8a00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default class IndexPatternSelect extends Component<IndexPatternSelectInte
return;
}
const hasRequiredFieldTypes = indexPattern.fields.some((field) => {
return this.props.fieldTypes.includes(field.type);
return this.props.fieldTypes!.includes(field.type);
});
if (!hasRequiredFieldTypes) {
continue;
Expand Down

0 comments on commit 50b8a00

Please sign in to comment.