Fixhancement: update sidebar view counts on save & next also (#10793)

This commit is contained in:
shamoon
2025-09-06 07:51:36 -07:00
committed by GitHub
parent b5a17a8d11
commit dfa6308ca4

View 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)