mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-24 02:05:48 -06:00
Support acknowledged param
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user