Merge pull request #840 from paperless-ngx/fix-password-field-remains-visible

Fix password field remains visible
This commit is contained in:
Quinn Casey 2022-04-29 07:08:51 -07:00 committed by GitHub
commit c17c291b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,6 +244,7 @@ export class DocumentDetailComponent
updateComponent(doc: PaperlessDocument) {
this.document = doc
this.requiresPassword = false
this.documentsService
.getMetadata(doc.id)
.pipe(first())