We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3c91974 + dcbf32e commit 5204b25Copy full SHA for 5204b25
src/shared/components/SubmissionPage/Submit/index.jsx
@@ -150,8 +150,8 @@ class Submit extends React.Component {
150
const topGearCommunity = _.find(communitiesList.data, { mainSubdomain: 'topgear' });
151
if (topGearCommunity) {
152
// check the group info match with group list
153
- _.forOwn(groups, (value, key) => {
154
- if (value && _.includes(topGearCommunity.groupIds, key)) {
+ _.forOwn(groups, (value) => {
+ if (value && _.includes(topGearCommunity.groupIds, value)) {
155
isChallengeBelongToTopgearGroup = true;
156
return false;
157
}
0 commit comments