We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d2d06 commit 2c21327Copy full SHA for 2c21327
1 file changed
src/libs/OptionsListUtils/index.ts
@@ -709,7 +709,7 @@ function getLastMessageTextForReport({
709
const iouReportID = iouReport?.reportID;
710
const reportCache = iouReportID ? visibleReportActionsDataParam?.[iouReportID] : undefined;
711
const visibleReportActionsForIOUReport = reportCache && Object.keys(reportCache).length > 0 ? visibleReportActionsDataParam : undefined;
712
- const iouReportActions = iouReportID ? deprecatedAllSortedReportActions[iouReportID] : undefined;
+ const iouReportActions = iouReportID ? sortedActions?.[iouReportID] : undefined;
713
const canPerformWrite = canUserPerformWriteAction(report, isReportArchived);
714
const lastIOUMoneyReportAction =
715
iouReportID && iouReportActions
0 commit comments