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 {
100100 phase . scheduledStartDate = startDate
101101 phase . scheduledEndDate = moment ( startDate ) . add ( phase . duration || 0 , 'hours' ) . toDate ( )
102102 phase . actualStartDate = phase . scheduledStartDate
103- phase . actualEndDate = phase . scheduledEndDate
104103 } else {
105104 const preIndex = _ . findIndex ( phases , ( p ) => p . id === phase . predecessor )
106105 // `Invalid phase predecessor: ${phase.predecessor}`
107106 phase . scheduledStartDate = phases [ preIndex ] . scheduledEndDate
108107 phase . scheduledEndDate = moment ( phase . scheduledStartDate ) . add ( phase . duration || 0 , 'hours' ) . toDate ( )
109108 phase . actualStartDate = phase . scheduledStartDate
110- phase . actualEndDate = phase . scheduledEndDate
111109 }
112110 }
113111
You can’t perform that action at this time.
0 commit comments