mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-12 11:07:13 +00:00
fix navigation to /documents breaks history
This commit is contained in:
1 parent
110bd65c20
commit
d0f5cc839f
1 file changed
+1
@@ -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([], {
|
||||
|
||||
Reference in new issue
Block a user