Skip to content

Commit

Permalink
Allow for editing submission separate from registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Dec 24, 2022
1 parent 6388cdc commit 01cf585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChallengeEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ class ChallengeEditor extends Component {
for (let index = 0; index < phases.length; ++index) {
newChallenge.phases[index].isDurationActive =
moment(newChallenge.phases[index]['scheduledEndDate']).isAfter()
newChallenge.phases[index].isStartTimeActive = index <= 0
newChallenge.phases[index].isStartTimeActive = true
newChallenge.phases[index].isOpen =
newChallenge.phases[index].isDurationActive
}
Expand Down

0 comments on commit 01cf585

Please sign in to comment.