Skip to content

Commit 5559b61

Browse files
author
vikasrohit
authored
Merge pull request #718 from topcoder-platform/develop
fix: git#717 Challenge can not be updated with group association
2 parents 8d6fa56 + 7efc0aa commit 5559b61

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengeEditor/Groups-Field

1 file changed

+1
-1
lines changed

src/components/ChallengeEditor/Groups-Field/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const GroupsField = ({ groups, onUpdateMultiSelect, challenge }) => {
1414
<Select
1515
name='group'
1616
multi
17-
options={groups.map(g => ({ label: g.name, value: g.name }))}
17+
options={groups.map(g => ({ label: g.name, value: g.id }))}
1818
simpleValue
1919
value={challenge.groups.join(',')}
2020
placeholder='Select groups'

0 commit comments

Comments
 (0)