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 3f0e098 commit 03c8277Copy full SHA for 03c8277
src/components/ChallengeEditor/index.js
@@ -893,8 +893,8 @@ class ChallengeEditor extends Component {
893
newChallenge.phases[phaseIndex - 1]['scheduledEndDate']
894
}
895
newChallenge.phases[phaseIndex]['scheduledEndDate'] = getPhaseEndDate(
896
- newChallenge.phases[index]['scheduledStartDate'],
897
- newChallenge.phases[index]['duration']
+ newChallenge.phases[phaseIndex]['scheduledStartDate'],
+ newChallenge.phases[phaseIndex]['duration']
898
)
899
900
if (!_.isEqual(newChallenge.phases[index], phases[index])) {
0 commit comments