Fix reload after running zone ocr

This commit is contained in:
shamoon committed 2026-10-20 08:20:44 -07:00
1 parent ebd8dba3bb
commit a51e6a71f4
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)