We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 786db04 + 4a3bc5e commit a93705bCopy full SHA for a93705b
src/shared/components/challenge-listing/ChallengeCard/Status/index.jsx
@@ -216,7 +216,7 @@ export default function ChallengeStatus(props) {
216
.filter(p => p.phaseType !== 'Registration')
217
.sort((a, b) => moment(a.scheduledEndTime).diff(b.scheduledEndTime))[0];
218
219
- if (!statusPhase && subTrack === 'FIRST_2_FINISH' && checkPhases.length) {
+ if (!statusPhase && (subTrack === 'FIRST_2_FINISH' || subTrack === 'CODE') && checkPhases.length) {
220
statusPhase = _.clone(checkPhases[0]);
221
statusPhase.phaseType = 'Submission';
222
}
0 commit comments