issue-54 #62
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user