From 6face8cc4564b978fb98af32659b326d8c5cede8 Mon Sep 17 00:00:00 2001 From: Brandon Cohen Date: Tue, 27 Dec 2022 10:17:32 -0500 Subject: [PATCH] fix: tooltip shows properly if not in progress (#3185) --- src/components/StatusBadge/index.tsx | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/StatusBadge/index.tsx b/src/components/StatusBadge/index.tsx index 9dd1a7eb35..02bf383a1f 100644 --- a/src/components/StatusBadge/index.tsx +++ b/src/components/StatusBadge/index.tsx @@ -96,7 +96,7 @@ const StatusBadge = ({ } } - const tooltipContent = downloadItem ? ( + const tooltipContent = ( - ) : ( - mediaLinkDescription ); const badgeDownloadProgress = ( @@ -134,11 +132,13 @@ const StatusBadge = ({ case MediaStatus.AVAILABLE: return ( {inProgress && badgeDownloadProgress}