mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
bugfix
This commit is contained in:
parent
d17de45791
commit
a186d6fae2
1 changed files with 4 additions and 0 deletions
|
|
@ -115,9 +115,13 @@ export class DocumentDetailComponent implements OnInit {
|
|||
this.document = doc
|
||||
this.documentsService.getMetadata(doc.id).subscribe(result => {
|
||||
this.metadata = result
|
||||
}, error => {
|
||||
this.metadata = null
|
||||
})
|
||||
this.documentsService.getSuggestions(doc.id).subscribe(result => {
|
||||
this.suggestions = result
|
||||
}, error => {
|
||||
this.suggestions = null
|
||||
})
|
||||
this.title = this.documentTitlePipe.transform(doc.title)
|
||||
this.documentForm.patchValue(doc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue