Skip to content

Commit 30e3de8

Browse files
authored
Merge pull request Expensify#63252 from ryntgh/issue-63150
Fix: "Canceled the payment" message thread header shows "The reimbursement was cancelled"
2 parents 4a939b2 + d3dafef commit 30e3de8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/libs/ReportUtils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ import {
190190
isOldDotReportAction,
191191
isPendingRemove,
192192
isPolicyChangeLogAction,
193+
isReimbursementDeQueuedOrCanceledAction,
193194
isReimbursementQueuedAction,
194195
isRenamedAction,
195196
isReopenedAction,
@@ -4624,6 +4625,10 @@ function getReportActionMessage({
46244625
});
46254626
}
46264627

4628+
if (isReimbursementDeQueuedOrCanceledAction(reportAction)) {
4629+
return getReimbursementDeQueuedOrCanceledActionMessage(reportAction, getReportOrDraftReport(reportID, reports));
4630+
}
4631+
46274632
return parseReportActionHtmlToText(reportAction, reportID, childReportID);
46284633
}
46294634

0 commit comments

Comments
 (0)