Skip to content

Commit a26d139

Browse files
committed
fix issue #207
1 parent 9bae199 commit a26d139

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/challenge-detail/Header

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function ChallengeHeader(props) {
7979
} else if (reliabilityBonus) {
8080
bonusType = 'Reliability Bonus';
8181
}
82-
const registrationEnded = new Date(registrationEndDate).getTime() < Date.now();
82+
const registrationEnded = new Date(registrationEndDate).getTime() < Date.now() || status.toLowerCase() !== 'active';
8383
const submissionEnded = new Date(submissionEndDate).getTime() < Date.now();
8484
const hasSubmissions = userDetails && userDetails.hasUserSubmittedForReview;
8585
const nextDeadline = currentPhases && currentPhases.length > 0 && currentPhases[0].phaseType;

0 commit comments

Comments
 (0)