Skip to content

Commit 2335cba

Browse files
Merge pull request #23822 from Expensify/cmartins-fixExpenseReportTotal
Fix expense report total when deleting requests
2 parents 3c5994c + 448e27f commit 2335cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/IOU.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ function deleteMoneyRequest(transactionID, reportAction, isSingleTransactionView
841841
let updatedIOUReport = null;
842842
let updatedReportPreviewAction = null;
843843
if (!shouldDeleteIOUReport) {
844-
if (ReportUtils.isExpenseReport(iouReport.reportID)) {
844+
if (ReportUtils.isExpenseReport(iouReport)) {
845845
updatedIOUReport = {...iouReport};
846846

847847
// Because of the Expense reports are stored as negative values, we add the total from the amount

0 commit comments

Comments
 (0)