mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-17 11:21:29 +00:00
Update app-frame.component.ts
Only reduce selection to filter if not all documents are selected.
This commit is contained in:
1 parent
73834aa49f
commit
0f063a0155
1 file changed
+3
-1
@@ -186,7 +186,9 @@ export class AppFrameComponent
|
||||
)
|
||||
.subscribe((result) => {
|
||||
this.documentList.reload(null, false)
|
||||
this.documentList.reduceSelectionToFilter()
|
||||
if (!this.documentList.allSelected) {
|
||||
this.documentList.reduceSelectionToFilter()
|
||||
}
|
||||
// maybe someday we can optimize to only refresh affected documents
|
||||
this.openDocumentsService.getOpenDocuments().forEach((doc) => {
|
||||
this.openDocumentsService.refreshDocument(doc.id)
|
||||
|
||||
Reference in new issue
Block a user