From 01ace044d5b18bc55ab9d116dbec9aac4de3e77c Mon Sep 17 00:00:00 2001 From: Patrik Korytar Date: Mon, 22 Apr 2024 14:15:16 +0200 Subject: [PATCH] NCL-8671 Return missing Tooltip to Group Build status icon --- src/components/BuildStatusIcon/BuildStatusIcon.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/BuildStatusIcon/BuildStatusIcon.tsx b/src/components/BuildStatusIcon/BuildStatusIcon.tsx index 892ee133..5da4af7c 100644 --- a/src/components/BuildStatusIcon/BuildStatusIcon.tsx +++ b/src/components/BuildStatusIcon/BuildStatusIcon.tsx @@ -65,7 +65,11 @@ export const BuildStatusIcon = ({ build, long }: IBuildStatusIcon) => { return ( - {isBuild(build) ? {buildImage} : buildImage} + {isBuild(build) ? ( + {buildImage} + ) : ( + {buildImage} + )} {isCorrupted && ( const buildLogLink = useMemo(() => getAdequateBuildLogLink(build), [build]); return ( - {buildStatusData[build.status!].tooltip}. Click to open the log}> + {children}