You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/workday-entity/workday-entity-dialog.component.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -846,7 +846,7 @@ export class WorkdayEntityDialogComponent implements OnInit {
846
846
847
847
// ===== UI-hjælpere (samme logik som tidligere, men brugt af form) =====
848
848
convertMinutesToTime(minutes: number): string{
849
-
if(minutes==null){
849
+
if(minutes===null||minutes===0){
850
850
returnnull;
851
851
}
852
852
consthours=Math.floor(minutes/60);
@@ -1057,19 +1057,19 @@ export class WorkdayEntityDialogComponent implements OnInit {
0 commit comments