Remove the create link from doc details

This commit is contained in:
shamoon committed 2026-10-20 08:11:40 -07:00
1 parent 7055f7a745
commit 3ed9586347
4 files changed
+1 -28

No files matched your search

@@ -1587,15 +1587,6 @@ export class DocumentDetailComponent
})
}
createOcrTemplate() {
this.router.navigate(['/ocr-templates', 'new'], {
queryParams: {
document_type: this.document().document_type,
sample_document: this.document().id,
},
})
}
private getSelectedNonLatestVersionId(): number | null {
const versions = this.document()?.versions ?? []
if (!versions.length || !this.selectedVersionId()) {