mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Fix: reset documents sort field if user deletes the custom field (#9127)
This commit is contained in:
@@ -62,6 +62,10 @@ export class DocumentService extends AbstractPaperlessService<Document> {
|
||||
private customFieldService: CustomFieldsService
|
||||
) {
|
||||
super(http, 'documents')
|
||||
this.reload()
|
||||
}
|
||||
|
||||
public reload() {
|
||||
if (
|
||||
this.permissionsService.currentUserCan(
|
||||
PermissionAction.View,
|
||||
|
Reference in New Issue
Block a user