Skip to content

Commit dcbf32e

Browse files
Fix Topgear submissions page
1 parent 3c91974 commit dcbf32e

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)