From 9d3da19cd6ec94059623359cf2fa741b15faff96 Mon Sep 17 00:00:00 2001 From: Alberto Date: Mon, 21 Nov 2022 13:02:47 +0100 Subject: [PATCH] Display correct report name on rooms --- src/libs/actions/Report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 68a0015cf345..164d0e60bbbb 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -510,7 +510,7 @@ function openReport(reportID, participantList = [], newReportObject = {}) { isLoadingMoreReportActions: false, lastVisitedTimestamp: Date.now(), lastReadSequenceNumber: getMaxSequenceNumber(reportID), - reportName: CONST.REPORT.DEFAULT_REPORT_NAME, + reportName: lodashGet(allReports, [reportID, 'reportName'], CONST.REPORT.DEFAULT_REPORT_NAME), }, }], successData: [{