mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +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
|
|
@ -53,6 +53,6 @@ describe('DocumentAsnComponent', () => {
|
|||
.mockReturnValue(of(convertToParamMap({ id: '5578' })))
|
||||
const navigateSpy = jest.spyOn(router, 'navigate')
|
||||
component.ngOnInit()
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'])
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'], { replaceUrl: true })
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue