Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: deselect file tasks select all button on dismiss (#7592)

shamoon3d5e45c20a1f
diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.ts b/src-ui/src/app/components/admin/tasks/tasks.component.ts
index f1fa56d56..7b01090d5 100644
--- a/src-ui/src/app/components/admin/tasks/tasks.component.ts
+++ b/src-ui/src/app/components/admin/tasks/tasks.component.ts
@@ -70,11 +70,11 @@ export class TasksComponent
modal.componentInstance.buttonsEnabled = false
modal.close()
this.tasksService.dismissTasks(tasks)
- this.selectedTasks.clear()
+ this.clearSelection()
})
} else {
this.tasksService.dismissTasks(tasks)
- this.selectedTasks.clear()
+ this.clearSelection()
}
}