Skip to content

Commit d5d2811

Browse files
committed
fix submission page error
1 parent b169b8b commit d5d2811

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

Lines changed: 2 additions & 2 deletions
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)