Skip to content

Commit

Permalink
remove unneeded cast
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Nov 23, 2021
1 parent f7747b0 commit 2113b83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ESTooltipProperty implements ITooltipProperty {
} else {
const values = Array.isArray(rawValue) ? (rawValue as string[]) : [rawValue as string];
return values.map((value) => {
return esFilters.buildPhraseFilter(indexPatternField, value as string, this._indexPattern);
return esFilters.buildPhraseFilter(indexPatternField, value, this._indexPattern);
});
}
}
Expand Down

0 comments on commit 2113b83

Please sign in to comment.