mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Fixhancement: update sidebar view counts on save & next also (#10793)
This commit is contained in:
parent
b5a17a8d11
commit
dfa6308ca4
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue