From 7fd4bd4d57e3c5931639fd9054c71e500c99feee Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Thu, 23 Jul 2020 09:49:17 -0300 Subject: [PATCH] Fix var in filterByGroupIds in challenge listing filter --- src/utils/challenge/filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/challenge/filter.js b/src/utils/challenge/filter.js index ca6de71d..269376ca 100644 --- a/src/utils/challenge/filter.js +++ b/src/utils/challenge/filter.js @@ -71,8 +71,8 @@ import { COMPETITION_TRACKS, REVIEW_OPPORTUNITY_TYPES } from '../tc'; */ function filterByGroupIds(challenge, state) { - if (!state.groups) return true; - return state.groups.some(id => challenge.groups[id]); + if (!state.groupIds) return true; + return state.groupIds.some(id => challenge.groups[id]); } function filterByRegistrationOpen(challenge, state) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy