diff --git a/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx b/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx index 67c8a6c9e09e..92d07c3caffc 100644 --- a/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx +++ b/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx @@ -14,6 +14,7 @@ import type {CategorySection} from '@libs/OptionsListUtils'; import type {OptionData} from '@libs/ReportUtils'; import Navigation from '@navigation/Navigation'; import * as SearchActions from '@userActions/Search'; +import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; @@ -32,11 +33,13 @@ function SearchFiltersCardPage() { .sort((a, b) => a.bank.localeCompare(b.bank)) .map((card) => { const icon = getBankIcon({bankName: card.bank as BankName, isCard: true, styles}); + const cardName = card?.nameValuePairs?.cardTitle ?? card?.cardName; + const text = card.bank === CONST.EXPENSIFY_CARD.BANK ? card.bank : cardName; return { lastFourPAN: card.lastFourPAN, isVirtual: card?.nameValuePairs?.isVirtual, - text: card.bank, + text, keyForList: card.cardID.toString(), isSelected: newCards.includes(card.cardID.toString()), bankIcon: icon,