We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6388cdc commit 01cf585Copy full SHA for 01cf585
src/components/ChallengeEditor/index.js
@@ -839,7 +839,7 @@ 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
+ newChallenge.phases[index].isStartTimeActive = true
843
newChallenge.phases[index].isOpen =
844
newChallenge.phases[index].isDurationActive
845
}
0 commit comments