issue-18 #28
@ -41,6 +41,7 @@ export class TaskOverviewComponent {
|
||||
this.taskService.tasksTaskIDFinishPost(task.taskID).subscribe({
|
||||
next: resp => {
|
||||
this.finishedEmitter.emit(task);
|
||||
this.tasks = this.tasks.filter(ct => ct.taskID !== task.taskID)
|
||||
},
|
||||
error: err => {
|
||||
if(err.status == 403) {
|
||||
|
Loading…
Reference in New Issue
Block a user