From 4646bb106a0f58efc06f221cb06ad26ddf0cf625 Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Thu, 21 May 2026 22:11:43 +0700 Subject: [PATCH] Two self DMs are selected in participant list when submissions are disabled --- src/components/ParticipantPicker.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ParticipantPicker.tsx b/src/components/ParticipantPicker.tsx index 658880bf6459..ed10d4922e51 100644 --- a/src/components/ParticipantPicker.tsx +++ b/src/components/ParticipantPicker.tsx @@ -49,16 +49,21 @@ function ParticipantPicker({ onClose, }: ParticipantPickerProps) { const {translate} = useLocalize(); + const isSplitRequest = iouType === CONST.IOU.TYPE.SPLIT; + const selectedParticipant = isSplitRequest ? undefined : participants?.find((participant) => participant.selected && !participant.isSender); + const selectedParticipantsWithoutReport = selectedParticipant && !selectedParticipant.reportID ? [selectedParticipant] : CONST.EMPTY_ARRAY; const pickerContent = ( );