From 9e03e7702744ec0200921f7086445a8511d2e30d Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Thu, 2 May 2024 13:13:36 +0200 Subject: [PATCH] chore: cleanup wrongly removed type check --- src/components/filter_group/filter_select_item.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/filter_group/filter_select_item.tsx b/src/components/filter_group/filter_select_item.tsx index dbd24c108d98..11c65a68cc2f 100644 --- a/src/components/filter_group/filter_select_item.tsx +++ b/src/components/filter_group/filter_select_item.tsx @@ -106,7 +106,8 @@ export class EuiFilterSelectItemClass extends Component< const classes = classNames('euiFilterSelectItem', className); - const hasToolTip = !disabled && toolTipContent; + const hasToolTip = + !disabled && React.isValidElement(children) && toolTipContent; let anchorProps = undefined; if (hasToolTip) {