issue-54 #62

Merged
sebastian merged 2 commits from issue-54 into master 2023-11-13 19:34:10 +01:00
2 changed files with 7 additions and 6 deletions
Showing only changes of commit 290cdd2fbf - Show all commits

View File

@ -2,17 +2,17 @@ package core.api.models.timemanager.taskSchedule;
public class TaskScheduleStopResponse { public class TaskScheduleStopResponse {
private int activeTime; private int workTime;
public TaskScheduleStopResponse(int activeTime) { public TaskScheduleStopResponse(int activeTime) {
this.activeTime = activeTime; this.workTime = activeTime;
} }
public int getActiveTime() { public int getWorkTime() {
return activeTime; return workTime;
} }
public void setActiveTime(int activeTime) { public void setWorkTime(int workTime) {
this.activeTime = activeTime; this.workTime = workTime;
} }
} }

View File

@ -63,6 +63,7 @@ export class ActiveScheduleComponent implements OnInit{
schedule: this.activeSchedule!, schedule: this.activeSchedule!,
workedMinutes: resp.workTime workedMinutes: resp.workTime
}) })
console.log(resp.workTime)
this.activeSchedule = undefined this.activeSchedule = undefined
} }
}) })