issue-54 #62
@ -2,17 +2,17 @@ package core.api.models.timemanager.taskSchedule;
|
||||
|
||||
public class TaskScheduleStopResponse {
|
||||
|
||||
private int activeTime;
|
||||
private int workTime;
|
||||
|
||||
public TaskScheduleStopResponse(int activeTime) {
|
||||
this.activeTime = activeTime;
|
||||
this.workTime = activeTime;
|
||||
}
|
||||
|
||||
public int getActiveTime() {
|
||||
return activeTime;
|
||||
public int getWorkTime() {
|
||||
return workTime;
|
||||
}
|
||||
|
||||
public void setActiveTime(int activeTime) {
|
||||
this.activeTime = activeTime;
|
||||
public void setWorkTime(int workTime) {
|
||||
this.workTime = workTime;
|
||||
}
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ export class ActiveScheduleComponent implements OnInit{
|
||||
schedule: this.activeSchedule!,
|
||||
workedMinutes: resp.workTime
|
||||
})
|
||||
console.log(resp.workTime)
|
||||
this.activeSchedule = undefined
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user