We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bae199 commit a26d139Copy full SHA for a26d139
src/shared/components/challenge-detail/Header/index.jsx
@@ -79,7 +79,7 @@ export default function ChallengeHeader(props) {
79
} else if (reliabilityBonus) {
80
bonusType = 'Reliability Bonus';
81
}
82
- const registrationEnded = new Date(registrationEndDate).getTime() < Date.now();
+ const registrationEnded = new Date(registrationEndDate).getTime() < Date.now() || status.toLowerCase() !== 'active';
83
const submissionEnded = new Date(submissionEndDate).getTime() < Date.now();
84
const hasSubmissions = userDetails && userDetails.hasUserSubmittedForReview;
85
const nextDeadline = currentPhases && currentPhases.length > 0 && currentPhases[0].phaseType;
0 commit comments