mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 04:26:53 +00:00
Fix reload after running zone ocr
This commit is contained in:
2 files changed
+42
-3
No files matched your search
@@ -1577,9 +1577,8 @@ export class DocumentDetailComponent
|
||||
$localize`Zone OCR ran but no results extracted.`
|
||||
)
|
||||
}
|
||||
this.documentsService
|
||||
.get(this.documentId())
|
||||
.subscribe((doc) => this.updateComponent(doc))
|
||||
this.docChangeNotifier.next(this.documentId())
|
||||
this.loadDocument(this.documentId(), true)
|
||||
},
|
||||
error: (error) => {
|
||||
this.toastService.showError($localize`Zone OCR failed`, error)
|
||||
|
||||
Reference in new issue
Block a user