mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix navigation to /documents breaks history
This commit is contained in:
		| @@ -225,6 +225,7 @@ export class DocumentListViewService { | |||||||
|             let base = ['/documents'] |             let base = ['/documents'] | ||||||
|             this.router.navigate(base, { |             this.router.navigate(base, { | ||||||
|               queryParams: paramsFromViewState(activeListViewState), |               queryParams: paramsFromViewState(activeListViewState), | ||||||
|  |               replaceUrl: !this.router.routerState.snapshot.url.includes('?'), // in case navigating from params-less /documents | ||||||
|             }) |             }) | ||||||
|           } else if (this._activeSavedViewId) { |           } else if (this._activeSavedViewId) { | ||||||
|             this.router.navigate([], { |             this.router.navigate([], { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon