]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixhancement: update sidebar view counts on save & next also (#10793)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 6 Sep 2025 14:51:36 +0000 (07:51 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 14:51:36 +0000 (07:51 -0700)
src-ui/src/app/components/document-detail/document-detail.component.ts

index 1450be09c599a0caf91b0e61dfd1627ff20d9986..d139550c08eaa6ad44924f7f740d1d9e30910a53 100644 (file)
@@ -903,6 +903,7 @@ export class DocumentDetailComponent
       .patch(this.getChangedFields())
       .pipe(
         switchMap((updateResult) => {
+          this.savedViewService.maybeRefreshDocumentCounts()
           return this.documentListViewService.getNext(this.documentId).pipe(
             map((nextDocId) => ({ nextDocId, updateResult })),
             takeUntil(this.unsubscribeNotifier)