Update app-frame.component.ts

Only reduce selection to filter if not all documents are selected.
This commit is contained in:
shamoon authored and GitHub committed 2026-11-17 02:17:51 -08:00
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)