Fix delete and undo

This commit is contained in:
shamoon committed 2026-11-14 00:08:14 -08:00
1 parent d2197bf05e
commit c7fcdbed61
8 files changed
+143 -30

No files matched your search

@@ -351,9 +351,10 @@ export class DocumentService extends AbstractPaperlessService<Document> {
}
deleteDocuments(selection: DocumentSelectionQuery) {
return this.http.post(this.getResourceUrl(null, 'delete'), {
...selection,
})
return this.http.post<BulkOperationResponse>(
this.getResourceUrl(null, 'delete'),
{ ...selection, from_webui: true }
)
}
reprocessDocuments(