diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts b/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts index c0d7d604d1d8e..1b677b196c997 100644 --- a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts +++ b/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts @@ -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); }); } }