Support acknowledged param

This commit is contained in:
shamoon
2025-02-14 15:39:10 -08:00
parent e1b944ce6b
commit f3438914cc
6 changed files with 33 additions and 27 deletions

View File

@@ -54,7 +54,9 @@ export class TasksService {
this.loading = true
this.http
.get<PaperlessTask[]>(`${this.baseUrl}tasks/?task_name=consume_file`)
.get<PaperlessTask[]>(
`${this.baseUrl}tasks/?task_name=consume_file&acknowledged=false`
)
.pipe(takeUntil(this.unsubscribeNotifer), first())
.subscribe((r) => {
this.fileTasks = r.filter((t) => t.type == PaperlessTaskType.Auto)