diff --git a/src/shared/components/challenge-detail/Submissions/index.jsx b/src/shared/components/challenge-detail/Submissions/index.jsx index a7936abc70..e6a847e5dd 100644 --- a/src/shared/components/challenge-detail/Submissions/index.jsx +++ b/src/shared/components/challenge-detail/Submissions/index.jsx @@ -327,8 +327,8 @@ class SubmissionsComponent extends React.Component { ); - const isF2F = challenge.subTrack.indexOf('FIRST_2_FINISH') > -1; - const isBugHunt = challenge.subTrack.indexOf('BUG_HUNT') > -1; + const isF2F = track.indexOf('FIRST_2_FINISH') > -1; + const isBugHunt = track.indexOf('BUG_HUNT') > -1; // copy colorStyle from registrants to submissions _.forEach(sortedSubmissions, (s) => {