diff --git a/src/pages/iou/request/step/IOURequestStepConfirmation.js b/src/pages/iou/request/step/IOURequestStepConfirmation.js index 859035606a31..60b3276e941e 100644 --- a/src/pages/iou/request/step/IOURequestStepConfirmation.js +++ b/src/pages/iou/request/step/IOURequestStepConfirmation.js @@ -330,7 +330,7 @@ function IOURequestStepConfirmation({ // but not all of them (maybe someone skipped out on dinner). Then it's nice to be able to select/deselect people from the group chat bill // split rather than forcing the user to create a new group, just for that expense. The reportID is empty, when the action was initiated from // the floating-action-button (since it is something that exists outside the context of a report). - canModifyParticipants={!_.isEmpty(report.reportID)} + canModifyParticipants={!transaction.isFromGlobalCreate} policyID={report.policyID} bankAccountRoute={ReportUtils.getBankAccountRoute(report)} iouMerchant={transaction.merchant} diff --git a/src/pages/iou/request/step/IOURequestStepParticipants.js b/src/pages/iou/request/step/IOURequestStepParticipants.js index d07f900dbb6f..5f5dbb7e6a83 100644 --- a/src/pages/iou/request/step/IOURequestStepParticipants.js +++ b/src/pages/iou/request/step/IOURequestStepParticipants.js @@ -57,7 +57,9 @@ function IOURequestStepParticipants({ numberOfParticipants.current = val.length; // When multiple participants are selected, the reportID is generated at the end of the confirmation step. + // So we are resetting selectedReportID ref to the reportID coming from params. if (val.length !== 1) { + selectedReportID.current = reportID; return; }