mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-28 01:26:14 +00:00
bugfix
This commit is contained in:
@@ -115,9 +115,13 @@ export class DocumentDetailComponent implements OnInit {
|
|||||||
this.document = doc
|
this.document = doc
|
||||||
this.documentsService.getMetadata(doc.id).subscribe(result => {
|
this.documentsService.getMetadata(doc.id).subscribe(result => {
|
||||||
this.metadata = result
|
this.metadata = result
|
||||||
|
}, error => {
|
||||||
|
this.metadata = null
|
||||||
})
|
})
|
||||||
this.documentsService.getSuggestions(doc.id).subscribe(result => {
|
this.documentsService.getSuggestions(doc.id).subscribe(result => {
|
||||||
this.suggestions = result
|
this.suggestions = result
|
||||||
|
}, error => {
|
||||||
|
this.suggestions = null
|
||||||
})
|
})
|
||||||
this.title = this.documentTitlePipe.transform(doc.title)
|
this.title = this.documentTitlePipe.transform(doc.title)
|
||||||
this.documentForm.patchValue(doc)
|
this.documentForm.patchValue(doc)
|
||||||
|
Reference in New Issue
Block a user