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 0d6c203 commit 0f15031Copy full SHA for 0f15031
src/components/ChallengeEditor/index.js
@@ -839,7 +839,11 @@ class ChallengeEditor extends Component {
839
for (let index = 0; index < phases.length; ++index) {
840
newChallenge.phases[index].isDurationActive =
841
moment(newChallenge.phases[index]['scheduledEndDate']).isAfter()
842
- newChallenge.phases[index].isStartTimeActive = index <= 0
+ if (newChallenge.phases[index].name === 'Submission') {
843
+ newChallenge.phases[index].isStartTimeActive = true
844
+ } else {
845
+ newChallenge.phases[index].isStartTimeActive = index <= 0
846
+ }
847
newChallenge.phases[index].isOpen =
848
newChallenge.phases[index].isDurationActive
849
}
0 commit comments