mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 19:46:48 +01:00
Improve 404 navigation and styling
This commit is contained in:
parent
f6dadd8c82
commit
9291c98189
16 changed files with 160 additions and 74 deletions
|
|
@ -259,7 +259,7 @@ describe('DocumentListComponent', () => {
|
|||
.mockReturnValue(of(convertToParamMap({ id: '10' })))
|
||||
const navigateSpy = jest.spyOn(router, 'navigate')
|
||||
fixture.detectChanges()
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'])
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'], { replaceUrl: true })
|
||||
})
|
||||
|
||||
it('should load saved view from query params', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue