Skip to content

Commit

Permalink
Fixed type check
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Apr 30, 2020
1 parent 5a8d7ce commit a1a873e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const IndexActionConnectorFields: React.FunctionComponent<ActionConnectorFieldsP
return;
}
const currentEsFields = await getFields(http!, indices);
const timeFields = getTimeFieldOptions(currentEsFields as unknown);
const timeFields = getTimeFieldOptions(currentEsFields as any);

setTimeFieldOptions([firstFieldOption, ...timeFields]);
}}
Expand Down

0 comments on commit a1a873e

Please sign in to comment.