Skip to content

Commit 5204b25

Browse files
Merge pull request #4866 from topcoder-platform/issue-4844
Fix Topgear submissions page
2 parents 3c91974 + dcbf32e commit 5204b25

File tree

1 file changed

+2
-2
lines changed
  • src/shared/components/SubmissionPage/Submit

1 file changed

+2
-2
lines changed

src/shared/components/SubmissionPage/Submit/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ class Submit extends React.Component {
150150
const topGearCommunity = _.find(communitiesList.data, { mainSubdomain: 'topgear' });
151151
if (topGearCommunity) {
152152
// check the group info match with group list
153-
_.forOwn(groups, (value, key) => {
154-
if (value && _.includes(topGearCommunity.groupIds, key)) {
153+
_.forOwn(groups, (value) => {
154+
if (value && _.includes(topGearCommunity.groupIds, value)) {
155155
isChallengeBelongToTopgearGroup = true;
156156
return false;
157157
}

0 commit comments

Comments
 (0)