Skip to content

Commit

Permalink
Merge pull request #30640 from saranshbalyan-1234/fix-cliboard-send-m…
Browse files Browse the repository at this point in the history
…oney-report

fix clipboard in report utils
  • Loading branch information
jasperhuangg authored Nov 1, 2023
2 parents e108378 + 1c233a3 commit 0319bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4070,7 +4070,8 @@ function getIOUReportActionDisplayMessage(reportAction) {
const originalMessage = _.get(reportAction, 'originalMessage', {});
let displayMessage;
if (originalMessage.type === CONST.IOU.REPORT_ACTION_TYPE.PAY) {
const {amount, currency, IOUReportID} = originalMessage;
const {IOUReportID} = originalMessage;
const {amount, currency} = originalMessage.IOUDetails;
const formattedAmount = CurrencyUtils.convertToDisplayString(amount, currency);
const iouReport = getReport(IOUReportID);
const payerName = isExpenseReport(iouReport) ? getPolicyName(iouReport) : getDisplayNameForParticipant(iouReport.managerID, true);
Expand Down

0 comments on commit 0319bf6

Please sign in to comment.