Create paperlesstasks for sanity, classifier

[ci skip]
This commit is contained in:
shamoon
2025-02-13 17:46:05 -08:00
parent de5f66b3a0
commit f897447a65
12 changed files with 120 additions and 17 deletions

View File

@@ -54,7 +54,7 @@ export class TasksService {
this.loading = true
this.http
.get<PaperlessTask[]>(`${this.baseUrl}tasks/`)
.get<PaperlessTask[]>(`${this.baseUrl}tasks/?type=file`)
.pipe(takeUntil(this.unsubscribeNotifer), first())
.subscribe((r) => {
this.fileTasks = r.filter((t) => t.type == PaperlessTaskType.File) // they're all File tasks, for now