Skip to content

Commit 093ee08

Browse files
thienlnamOSBotify
authored andcommitted
Merge pull request #61049 from Expensify/cmartins-fixOfflineReportName
Fix offline report name (cherry picked from commit 590eb33) (cherry-picked to staging by thienlnam)
1 parent b267c73 commit 093ee08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5736,7 +5736,7 @@ function getDeletedTransactionMessage(action: ReportAction) {
57365736
function getReportDetails(reportID: string): {reportName: string; reportUrl: string} {
57375737
const report = allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportID}`];
57385738
return {
5739-
reportName: report?.reportName ?? '',
5739+
reportName: getReportName(report) ?? report?.reportName ?? '',
57405740
reportUrl: `${environmentURL}/r/${reportID}`,
57415741
};
57425742
}

0 commit comments

Comments
 (0)