From 7edb0b153b3645dfe7c87cb33b780386fcce1ca7 Mon Sep 17 00:00:00 2001 From: AmitUp9 <96980485+AmitUp9@users.noreply.github.com> Date: Thu, 26 May 2022 15:19:00 +0300 Subject: [PATCH] added condition that if no selector wouldn't be tooltip also (#1114) --- ui-common/src/components/UI/Queryable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-common/src/components/UI/Queryable.tsx b/ui-common/src/components/UI/Queryable.tsx index b38cfa1d3..e7773d227 100644 --- a/ui-common/src/components/UI/Queryable.tsx +++ b/ui-common/src/components/UI/Queryable.tsx @@ -54,7 +54,7 @@ const Queryable: React.FC = ({query, style, iconStyle, className, useTool {flipped && addButton} {children} {!flipped && addButton} - {useTooltip && showTooltip && {query}} + {useTooltip && showTooltip && (query !== "") && {query}} ); };