From 7f1b8f7c5e126b488d93d70b5110f99883062cfa Mon Sep 17 00:00:00 2001 From: Katrina Nguyen Date: Mon, 6 Jan 2025 21:58:01 +0000 Subject: [PATCH] feat: fixes invalid members being added to groups --- src/components/PeopleManagement/CreateGroupModalContent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PeopleManagement/CreateGroupModalContent.jsx b/src/components/PeopleManagement/CreateGroupModalContent.jsx index a7b504450..55abdfabf 100644 --- a/src/components/PeopleManagement/CreateGroupModalContent.jsx +++ b/src/components/PeopleManagement/CreateGroupModalContent.jsx @@ -94,7 +94,7 @@ const CreateGroupModalContent = ({ }); setMemberInviteMetadata(inviteMetadata); if (inviteMetadata.canInvite) { - onEmailAddressesChange(learnerEmails, { canInvite: true }); + onEmailAddressesChange(inviteMetadata.lowerCasedEmails, { canInvite: true }); } else { onEmailAddressesChange([]); }