From 04a32a62af60aea3d6e0694b69972a280e9d3404 Mon Sep 17 00:00:00 2001 From: dmkt9 Date: Fri, 27 Jun 2025 09:44:34 +0700 Subject: [PATCH] Fix - Tooltip on the "expense reports" filter is not displayed --- src/pages/Search/SearchTypeMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Search/SearchTypeMenu.tsx b/src/pages/Search/SearchTypeMenu.tsx index f00595c6e41f..26f9cf7c5ba5 100644 --- a/src/pages/Search/SearchTypeMenu.tsx +++ b/src/pages/Search/SearchTypeMenu.tsx @@ -238,7 +238,7 @@ function SearchTypeMenu({queryJSON}: SearchTypeMenuProps) { const previousItemCount = typeMenuSections.slice(0, sectionIndex).reduce((acc, sec) => acc + sec.menuItems.length, 0); const flattenedIndex = previousItemCount + itemIndex; const focused = activeItemIndex === flattenedIndex; - const shouldShowTooltip = item.translationPath === 'common.expenseReports' && !focused && shouldShowExpenseReportsTypeTooltip; + const shouldShowTooltip = item.translationPath === 'common.reports' && !focused && shouldShowExpenseReportsTypeTooltip; const onPress = singleExecution(() => { if (shouldShowTooltip) {