From 5cbfaafb32c7af04293ea05826b5122627ee8fe7 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Wed, 23 Oct 2024 08:56:46 +0200 Subject: [PATCH] Update tooltip message for the Navigation tabs --- src/components/Navigation/Tabs/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Navigation/Tabs/index.tsx b/src/components/Navigation/Tabs/index.tsx index 66754433a..ad6b253b4 100644 --- a/src/components/Navigation/Tabs/index.tsx +++ b/src/components/Navigation/Tabs/index.tsx @@ -44,8 +44,8 @@ const getTabTooltipMessage = ( tab: BaseTabData, scope: Scope | null ): string | undefined => { - if (!scope?.span && [TAB_IDS.ERRORS, TAB_IDS.TESTS].includes(tab.id)) { - return "Global errors and tests is COMING SOON"; + if (!scope?.span && tab.id === TAB_IDS.TESTS) { + return "Global tests is COMING SOON"; } return tab.title;