Fix issue-100
This commit is contained in:
parent
a66a72eb68
commit
8e41085008
@ -169,9 +169,9 @@ export class ForgottenTaskStartDialogComponent implements OnInit{
|
|||||||
}
|
}
|
||||||
|
|
||||||
register() {
|
register() {
|
||||||
this.scheduleService.schedulesTaskIDForgottenPost(this.events[0].meta.taskID, {
|
this.scheduleService.schedulesTaskIDForgottenPost(this.events[this.events.length-1].meta.taskID, {
|
||||||
startTime: moment(this.events[0].start).format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
|
startTime: moment(this.events[this.events.length-1].start).format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
|
||||||
endTime: moment(this.events[0].end).format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
|
endTime: moment(this.events[this.events.length-1].end).format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
|
||||||
}).subscribe({
|
}).subscribe({
|
||||||
next: resp => {
|
next: resp => {
|
||||||
this.router.navigateByUrl("/");
|
this.router.navigateByUrl("/");
|
||||||
|
Loading…
Reference in New Issue
Block a user