mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-08-12 05:43:18 +00:00
Direct signals in lots more components
This commit is contained in:
@@ -54,7 +54,7 @@ export class TrashComponent
|
||||
}
|
||||
|
||||
reload() {
|
||||
this.loading = true
|
||||
this.loading.set(true)
|
||||
this.trashService
|
||||
.getTrash(this.page())
|
||||
.pipe(
|
||||
@@ -62,11 +62,11 @@ export class TrashComponent
|
||||
this.documentsInTrash.set(r.results)
|
||||
this.totalDocuments.set(r.count)
|
||||
this.selectedDocuments.set(new Set())
|
||||
this.loading = false
|
||||
this.loading.set(false)
|
||||
})
|
||||
)
|
||||
.subscribe(() => {
|
||||
this.show = true
|
||||
this.show.set(true)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user