mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-22 06:19:07 -04:00
Fixhancement: update sidebar view counts on save & next also (#10793)
This commit is contained in:
parent
b5a17a8d11
commit
dfa6308ca4
@ -903,6 +903,7 @@ export class DocumentDetailComponent
|
|||||||
.patch(this.getChangedFields())
|
.patch(this.getChangedFields())
|
||||||
.pipe(
|
.pipe(
|
||||||
switchMap((updateResult) => {
|
switchMap((updateResult) => {
|
||||||
|
this.savedViewService.maybeRefreshDocumentCounts()
|
||||||
return this.documentListViewService.getNext(this.documentId).pipe(
|
return this.documentListViewService.getNext(this.documentId).pipe(
|
||||||
map((nextDocId) => ({ nextDocId, updateResult })),
|
map((nextDocId) => ({ nextDocId, updateResult })),
|
||||||
takeUntil(this.unsubscribeNotifier)
|
takeUntil(this.unsubscribeNotifier)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user