From dcbf32eb721b7217ffe7b73de87e767c3e6842bc Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Mon, 7 Sep 2020 04:00:40 -0300 Subject: [PATCH] Fix Topgear submissions page --- src/shared/components/SubmissionPage/Submit/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/components/SubmissionPage/Submit/index.jsx b/src/shared/components/SubmissionPage/Submit/index.jsx index 93350f7353..6f6f558d23 100644 --- a/src/shared/components/SubmissionPage/Submit/index.jsx +++ b/src/shared/components/SubmissionPage/Submit/index.jsx @@ -150,8 +150,8 @@ class Submit extends React.Component { const topGearCommunity = _.find(communitiesList.data, { mainSubdomain: 'topgear' }); if (topGearCommunity) { // check the group info match with group list - _.forOwn(groups, (value, key) => { - if (value && _.includes(topGearCommunity.groupIds, key)) { + _.forOwn(groups, (value) => { + if (value && _.includes(topGearCommunity.groupIds, value)) { isChallengeBelongToTopgearGroup = true; return false; }