Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/iou/request/step/IOURequestStepParticipants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ function IOURequestStepParticipants({
});
}

// When multiple valid participants are selected, the reportID is generated at the end of the confirmation step.
// 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.filter((item) => !!item.login).length !== 1 && !isInvoice) {
if (val.length !== 1 && !isInvoice) {
selectedReportID.current = reportID;
return;
}
Expand Down
Loading