diff --git a/frontend/src/app/dashboard/task-overview/task-overview.component.ts b/frontend/src/app/dashboard/task-overview/task-overview.component.ts index ef1d591..7d25357 100644 --- a/frontend/src/app/dashboard/task-overview/task-overview.component.ts +++ b/frontend/src/app/dashboard/task-overview/task-overview.component.ts @@ -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) {