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 70b5b31 commit 36c35f9Copy full SHA for 36c35f9
src/components/ChallengeEditor/index.js
@@ -874,7 +874,7 @@ class ChallengeEditor extends Component {
874
}
875
876
for (let phaseIndex = index + 1; phaseIndex < phases.length; ++phaseIndex) {
877
- if (newChallenge.phases[phaseIndex]['name'] === 'Submission') {
+ if (newChallenge.phases[phaseIndex]['name'] === 'Submission' || newChallenge.phases[index].name === 'Checkpoint Submission') {
878
console.log('Setting submission phase scheduled start date', moment(phase.startDate).toISOString())
879
newChallenge.phases[index]['scheduledStartDate'] = moment(phase.startDate).toISOString()
880
0 commit comments