From 948af518b5ea29901fb1d34984ca87af186238bc Mon Sep 17 00:00:00 2001 From: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com> Date: Wed, 18 May 2022 14:40:20 +0300 Subject: [PATCH] Fix double info icon in tapping status bar (#1095) --- ui-common/src/components/UI/StatusBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-common/src/components/UI/StatusBar.tsx b/ui-common/src/components/UI/StatusBar.tsx index 1ad98770c..74ba8b62b 100644 --- a/ui-common/src/components/UI/StatusBar.tsx +++ b/ui-common/src/components/UI/StatusBar.tsx @@ -22,8 +22,8 @@ export const StatusBar: React.FC = ({isDemoBannerView, disabled} const {uniqueNamespaces, amountOfPods, amountOfTappedPods, amountOfUntappedPods} = useRecoilValue(tappingStatusDetails); return
setExpandedBar(true)} onMouseLeave={() => setExpandedBar(false)} data-cy="expandedStatusBar">
- {tappingStatus.some(pod => !pod.isTapped) && warning} - {disabled && warning} + {!disabled && tappingStatus.some(pod => !pod.isTapped) && warning} + {disabled && warning} {`Tapping ${amountOfUntappedPods > 0 ? amountOfTappedPods + " / " + amountOfPods : amountOfPods} ${pluralize('pod', amountOfPods)} in ${pluralize('namespace', uniqueNamespaces.length)} ${uniqueNamespaces.join(", ")}`}