Skip to content

Commit 169efff

Browse files
authored
Merge pull request #4535 from nursoltan-s/iss-4521
Issue 4521
2 parents b169b8b + d5d2811 commit 169efff

File tree

1 file changed

+2
-2
lines changed
  • src/shared/components/challenge-detail/Submissions

1 file changed

+2
-2
lines changed

src/shared/components/challenge-detail/Submissions/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ class SubmissionsComponent extends React.Component {
327327
</div>
328328
);
329329

330-
const isF2F = challenge.subTrack.indexOf('FIRST_2_FINISH') > -1;
331-
const isBugHunt = challenge.subTrack.indexOf('BUG_HUNT') > -1;
330+
const isF2F = track.indexOf('FIRST_2_FINISH') > -1;
331+
const isBugHunt = track.indexOf('BUG_HUNT') > -1;
332332

333333
// copy colorStyle from registrants to submissions
334334
_.forEach(sortedSubmissions, (s) => {

0 commit comments

Comments
 (0)