Skip to content

Commit 7c89f9b

Browse files
authored
Merge pull request #4173 from topcoder-platform/listing-fix
Listing fix
2 parents 887b3ce + f56256d commit 7c89f9b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ workflows:
176176
only:
177177
- hot-fix-submit-blank
178178
- develop
179+
- feature-devices-lookup
179180
# This is alternate dev env for parallel testing
180181
- "build-test":
181182
context : org-global

src/shared/components/challenge-listing/ChallengeCard/Status/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default function ChallengeStatus(props) {
216216
.filter(p => p.phaseType !== 'Registration')
217217
.sort((a, b) => moment(a.scheduledEndTime).diff(b.scheduledEndTime))[0];
218218

219-
if (!statusPhase && subTrack === 'FIRST_2_FINISH' && checkPhases.length) {
219+
if (!statusPhase && (subTrack === 'FIRST_2_FINISH' || subTrack === 'CODE') && checkPhases.length) {
220220
statusPhase = _.clone(checkPhases[0]);
221221
statusPhase.phaseType = 'Submission';
222222
}

0 commit comments

Comments
 (0)