mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Disable selecting existing group members in add members modal
This commit is contained in:
@@ -40,7 +40,7 @@ type PropsType = ComponentProps<typeof AddGroupMembersModal>;
|
||||
|
||||
const createProps = (
|
||||
overrideProps: Partial<PropsType> = {},
|
||||
candidateContacts: Array<ConversationType> = []
|
||||
candidateContacts: Array<ConversationType> = allCandidateContacts
|
||||
): PropsType => ({
|
||||
clearRequestError: action('clearRequestError'),
|
||||
conversationIdsAlreadyInGroup: new Set(),
|
||||
|
||||
+1
@@ -329,6 +329,7 @@ export function ChooseGroupMembersModal({
|
||||
onClick={handleContactClick}
|
||||
isChecked={row.isChecked}
|
||||
badge={undefined}
|
||||
disabledReason={row.disabledReason}
|
||||
/>
|
||||
);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user