Skip to content

Commit 534b811

Browse files
authored
Merge pull request #211 from topcoder-platform/issue-4650
Fix var in filterByGroupIds in challenge listing filter
2 parents db83da0 + 7fd4bd4 commit 534b811

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/challenge/filter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ import { COMPETITION_TRACKS, REVIEW_OPPORTUNITY_TYPES } from '../tc';
7171
*/
7272

7373
function filterByGroupIds(challenge, state) {
74-
if (!state.groups) return true;
75-
return state.groups.some(id => challenge.groups[id]);
74+
if (!state.groupIds) return true;
75+
return state.groupIds.some(id => challenge.groups[id]);
7676
}
7777

7878
function filterByRegistrationOpen(challenge, state) {

0 commit comments

Comments
 (0)