From b69d18f1f182d75c21a8b35c5bbb730badf6781b Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Mon, 11 Dec 2023 13:21:13 -0700 Subject: [PATCH] Merge pull request #32821 from bernhardoj/fix/32809-split-bill-details-error Fix error when pressing the split button on the split bill details page with a receipt (cherry picked from commit be0c31d966c77a089d395eeecfc1eac372eb1406) --- src/pages/iou/SplitBillDetailsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/SplitBillDetailsPage.js b/src/pages/iou/SplitBillDetailsPage.js index 65bf43500f88..dd9e7ce93cc6 100644 --- a/src/pages/iou/SplitBillDetailsPage.js +++ b/src/pages/iou/SplitBillDetailsPage.js @@ -143,7 +143,7 @@ function SplitBillDetailsPage(props) { hasSmartScanFailed={hasSmartScanFailed} reportID={reportID} reportActionID={reportAction.reportActionID} - transaction={isEditingSplitBill ? props.draftTransaction : props.transaction} + transaction={isEditingSplitBill ? props.draftTransaction || props.transaction : props.transaction} onConfirm={onConfirm} isPolicyExpenseChat={ReportUtils.isPolicyExpenseChat(props.report)} policyID={ReportUtils.isPolicyExpenseChat(props.report) && props.report.policyID}