Skip to content

Commit d409b61

Browse files
authored
Merge pull request #4785 from topcoder-platform/issue-4783
updated isZurichCompetitor to use group 'oldId' instead 'id'
2 parents d0c866c + cf14434 commit d409b61

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/tc-communities/Header

1 file changed

+1
-1
lines changed

src/shared/components/tc-communities/Header/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function Header(props) {
5555
const AUTH_URL = config.URL.AUTH;
5656
const normalizedProfile = profile && _.clone(profile);
5757
const isZurichCompetitor = (profile && profile.groups) ? _.intersection(
58-
_.map(profile.groups, 'id'),
58+
_.map(profile.groups, 'oldId'),
5959
meta.competitorsGroupIds,
6060
) : [];
6161

0 commit comments

Comments
 (0)