mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
fix navigation to /documents breaks history
This commit is contained in:
parent
110bd65c20
commit
d0f5cc839f
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ export class DocumentListViewService {
|
|||
let base = ['/documents']
|
||||
this.router.navigate(base, {
|
||||
queryParams: paramsFromViewState(activeListViewState),
|
||||
replaceUrl: !this.router.routerState.snapshot.url.includes('?'), // in case navigating from params-less /documents
|
||||
})
|
||||
} else if (this._activeSavedViewId) {
|
||||
this.router.navigate([], {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue