@@ -148,5 +148,5 @@
diff --git a/src-ui/src/app/components/document-list/document-list.component.ts b/src-ui/src/app/components/document-list/document-list.component.ts
index 5d9f2f102..5eb97b08d 100644
--- a/src-ui/src/app/components/document-list/document-list.component.ts
+++ b/src-ui/src/app/components/document-list/document-list.component.ts
@@ -4,6 +4,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { FILTER_CORRESPONDENT } from 'src/app/data/filter-rule-type';
+import { PaperlessDocument } from 'src/app/data/paperless-document';
import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
import { DocumentListViewService } from 'src/app/services/document-list-view.service';
import { CorrespondentService } from 'src/app/services/rest/correspondent.service';
@@ -124,6 +125,10 @@ export class DocumentListComponent implements OnInit {
this.filterEditor.toggleDocumentType(documentTypeID)
}
+ trackByDocumentId(index, item: PaperlessDocument) {
+ return item.id
+ }
+
private executeBulkOperation(method: string, args): Observable
{
return this.documentService.bulkEdit(Array.from(this.list.selected), method, args).pipe(
map(r => {