Skip to content

Commit

Permalink
Merge pull request #32821 from bernhardoj/fix/32809-split-bill-detail…
Browse files Browse the repository at this point in the history
…s-error

Fix error when pressing the split button on the split bill details page with a receipt

(cherry picked from commit be0c31d)
  • Loading branch information
luacmartins authored and OSBotify committed Dec 11, 2023
1 parent 1d72ab1 commit b69d18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/SplitBillDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b69d18f

Please sign in to comment.