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

(cherry picked from commit b98ebd4)
  • Loading branch information
mountiny authored and OSBotify committed Feb 20, 2024
1 parent 60c415c commit c0a5641
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 c0a5641

Please sign in to comment.