From e06adc58c72187461991fa50618ddd85348251af Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:28:29 -0800 Subject: [PATCH] Update tasks.service.ts --- src-ui/src/app/services/tasks.service.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/services/tasks.service.ts b/src-ui/src/app/services/tasks.service.ts index e499a0dd8..967d4e8ff 100644 --- a/src-ui/src/app/services/tasks.service.ts +++ b/src-ui/src/app/services/tasks.service.ts @@ -4,8 +4,8 @@ import { Subject } from 'rxjs' import { first, takeUntil } from 'rxjs/operators' import { PaperlessTask, + PaperlessTaskName, PaperlessTaskStatus, - PaperlessTaskType, } from 'src/app/data/paperless-task' import { environment } from 'src/environments/environment' @@ -59,7 +59,9 @@ export class TasksService { ) .pipe(takeUntil(this.unsubscribeNotifer), first()) .subscribe((r) => { - this.fileTasks = r.filter((t) => t.type == PaperlessTaskType.Auto) + this.fileTasks = r.filter( + (t) => t.task_name == PaperlessTaskName.ConsumeFile + ) this.loading = false }) }