We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8514b0a + a844ad3 commit 2359bd6Copy full SHA for 2359bd6
src/shared/components/challenge-listing/ChallengeCard/Status/index.jsx
@@ -210,7 +210,7 @@ export default function ChallengeStatus(props) {
210
const allPhases = challenge.phases || [];
211
212
let statusPhase = allPhases
213
- .filter(p => p.name !== 'Registration')
+ .filter(p => p.name !== 'Registration' && p.isOpen)
214
.sort((a, b) => moment(a.scheduledEndDate).diff(b.scheduledEndDate))[0];
215
216
if (!statusPhase && subTrack === 'FIRST_2_FINISH' && allPhases.length) {
0 commit comments