File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/components/ChallengeEditor/ChallengeSchedule-Field Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,12 @@ class ChallengeScheduleField extends Component {
100
100
phase . scheduledStartDate = startDate
101
101
phase . scheduledEndDate = moment ( startDate ) . add ( phase . duration || 0 , 'hours' ) . toDate ( )
102
102
phase . actualStartDate = phase . scheduledStartDate
103
- phase . actualEndDate = phase . scheduledEndDate
104
103
} else {
105
104
const preIndex = _ . findIndex ( phases , ( p ) => p . id === phase . predecessor )
106
105
// `Invalid phase predecessor: ${phase.predecessor}`
107
106
phase . scheduledStartDate = phases [ preIndex ] . scheduledEndDate
108
107
phase . scheduledEndDate = moment ( phase . scheduledStartDate ) . add ( phase . duration || 0 , 'hours' ) . toDate ( )
109
108
phase . actualStartDate = phase . scheduledStartDate
110
- phase . actualEndDate = phase . scheduledEndDate
111
109
}
112
110
}
113
111
You can’t perform that action at this time.
0 commit comments