mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Fix: tweak doc detail component behavior while awaiting metadata (#5546)
This commit is contained in:
parent
1e4d284b30
commit
6fb4daf03e
3 changed files with 37 additions and 33 deletions
|
|
@ -681,6 +681,7 @@ describe('DocumentDetailComponent', () => {
|
|||
|
||||
it('should support Enter key in password field', () => {
|
||||
initNormally()
|
||||
component.metadata = { has_archive_version: true }
|
||||
component.onError({ name: 'PasswordException' }) // normally dispatched by pdf viewer
|
||||
fixture.detectChanges()
|
||||
expect(component.password).toBeUndefined()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue