Skip to content

Commit 73ec31e

Browse files
masudul-tikwebrenemadsen
authored andcommitted
fix the caculate time planning when the time difference is 0
1 parent b377edb commit 73ec31e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/workday-entity/workday-entity-dialog.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,10 @@ export class WorkdayEntityDialogComponent implements OnInit {
801801
}
802802

803803
if (this.data.planningPrDayModels.message === null) {
804-
if (plannedTimeInMinutes !== 0) {
804+
// if (plannedTimeInMinutes !== 0) {
805805
this.data.planningPrDayModels.planHours = plannedTimeInMinutes / 60;
806806
this.workdayForm.get('planHours')?.setValue(this.data.planningPrDayModels.planHours, {emitEvent: false});
807-
}
807+
// }
808808
}
809809

810810
// Summer actual

0 commit comments

Comments
 (0)