diff --git a/src/components/Search/SearchPageHeader.tsx b/src/components/Search/SearchPageHeader.tsx index 704f72055410..023e7315e115 100644 --- a/src/components/Search/SearchPageHeader.tsx +++ b/src/components/Search/SearchPageHeader.tsx @@ -59,7 +59,7 @@ function HeaderWrapper({icon, title, subtitle, children, subtitleStyles = {}}: H } subtitle={ {subtitle} diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 5c0451f2ea01..e69171bb2fbd 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -3755,9 +3755,9 @@ function getReportName( return `${reportActionMessage} (${Localize.translateLocal('common.archived')})`; } if (!isEmptyObject(parentReportAction) && ReportActionsUtils.isModifiedExpenseAction(parentReportAction)) { - return ModifiedExpenseMessage.getForReportAction(report?.reportID, parentReportAction); + const modifiedMessage = ModifiedExpenseMessage.getForReportAction(report?.reportID, parentReportAction); + return formatReportLastMessageText(modifiedMessage); } - if (isTripRoom(report)) { return report?.reportName ?? ''; }