automatically refresh tasks on file socket messages too

This commit is contained in:
Michael Shamoon
2022-05-26 23:20:57 -07:00
parent 71b34aa3bd
commit d4a5376f73
3 changed files with 22 additions and 15 deletions

View File

@@ -55,9 +55,11 @@ export class TasksComponent implements OnInit, OnDestroy {
modal.componentInstance.buttonsEnabled = false
modal.close()
this.tasksService.dismissTasks(tasks)
this.selectedTasks.clear()
})
} else {
this.tasksService.dismissTasks(tasks)
this.selectedTasks.clear()
}
}
@@ -94,6 +96,6 @@ export class TasksComponent implements OnInit, OnDestroy {
}
clearSelection() {
this.selectedTasks = new Set()
this.selectedTasks.clear()
}
}