Skip to content

Commit

Permalink
Merge pull request #36919 from Pujan92/fix/36857
Browse files Browse the repository at this point in the history
[CP Staging] Fix: Expense - App crashes when changing date, description, merchant of the request
  • Loading branch information
mountiny authored Feb 20, 2024
2 parents e43a372 + 56c7548 commit b98ebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ function getUpdateMoneyRequestParams(
? IOUUtils.updateIOUOwnerAndTotal(iouReport, updatedReportAction.actorAccountID ?? -1, diff, TransactionUtils.getCurrency(transaction), false, true)
: {};
}
updatedMoneyRequestReport.cachedTotal = CurrencyUtils.convertToDisplayString(updatedMoneyRequestReport.total, updatedTransaction?.modifiedCurrency);
updatedMoneyRequestReport.cachedTotal = CurrencyUtils.convertToDisplayString(updatedMoneyRequestReport.total, transactionDetails?.currency);

optimisticData.push({
onyxMethod: Onyx.METHOD.MERGE,
Expand Down

0 comments on commit b98ebd4

Please sign in to comment.