Skip to content

Commit 7fd4bd4

Browse files
Fix var in filterByGroupIds in challenge listing filter
1 parent db83da0 commit 7fd4bd4

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)