Skip to content

Commit cf14434

Browse files
updated isZurichCompetitor to use group 'oldId' instead 'id'
1 parent dd90b49 commit cf14434

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

Lines changed: 1 addition & 1 deletion
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)