mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-21 04:52:40 +00:00
Fix: tweak doc detail component behavior while awaiting metadata (#5546)
This commit is contained in:
1 parent
1e4d284b30
commit
6fb4daf03e
3 files changed
+37
-33
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user