TP-24975: bug fix for add members in the team
This commit is contained in:
@@ -54,9 +54,10 @@ const TeamForm = (props: TeamFormProps) => {
|
||||
data?.participants?.map(participant => participant?.id) || [];
|
||||
ApiService.post(endPoint, {
|
||||
id: teamId,
|
||||
slackUserIds: [...slackIds, ...slackUserIds.split(',')]?.map(id =>
|
||||
id?.trim(),
|
||||
),
|
||||
slackUserIds: slackIds,
|
||||
workEmailIds: slackUserIds?.includes(',')
|
||||
? slackUserIds.split(',').map(item => item?.trim())
|
||||
: [slackUserIds],
|
||||
})
|
||||
.then(response => {
|
||||
toast.success('Team Updated Successfully !!');
|
||||
|
||||
Reference in New Issue
Block a user