mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 01:51:18 +00:00
automatically refresh tasks on file socket messages too
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user