Skip to content

Commit c5fc489

Browse files
authored
Merge pull request #4827 from topcoder-platform/fri-28-release-from-develop
Fri 28 release from develop
2 parents adeeb56 + 5a2d463 commit c5fc489

File tree

2 files changed

+2
-2
lines changed
  • src/shared

2 files changed

+2
-2
lines changed

src/shared/actions/tc-communities/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function getListInit(uuid) {
3838
* @return {Promise}
3939
*/
4040
function getListDone(uuid, auth) {
41-
const groups = _.get(auth, 'profile.groups', []).map(g => g.oldId);
41+
const groups = _.get(auth, 'profile.groups', []).map(g => g.id);
4242
return getCommunitiesService(auth.tokenV3)
4343
.getList(groups).then(list => ({ list, uuid }));
4444
}

src/shared/components/challenge-detail/Specification/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function ChallengeDetailsView(props) {
8585
let isWipro = false;
8686
const wiproCommunity = communitiesList.find(x => x.communityId === 'wipro');
8787
if (wiproCommunity && groups) {
88-
isWipro = wiproCommunity.groupIds.some(id => groups[id]);
88+
isWipro = wiproCommunity.groupIds.some(id => groups.includes(id));
8989
}
9090

9191
let accentedStyle = '';

0 commit comments

Comments
 (0)