mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
tasks usability improvements
This commit is contained in:
parent
dc86993c84
commit
66b2013d23
4 changed files with 43 additions and 9 deletions
|
|
@ -22,6 +22,10 @@ export class TasksService {
|
|||
return this.fileTasks?.length
|
||||
}
|
||||
|
||||
public get allFileTasks(): PaperlessTask[] {
|
||||
return this.fileTasks.slice(0)
|
||||
}
|
||||
|
||||
public get incompleteFileTasks(): PaperlessTask[] {
|
||||
return this.fileTasks.filter(
|
||||
(t) => t.status == PaperlessTaskStatus.Incomplete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue