Update ocr-template-editor.component.ts

This commit is contained in:
shamoon committed 2026-10-20 09:05:24 -07:00
1 parent 3321ba46d6
commit 1d2832ac30
1 file changed
+1 -1
@@ -330,7 +330,7 @@ export class OcrTemplateEditorComponent
})
const id = this.route.snapshot.paramMap.get('id')
if (id && id !== 'new') {
if (id) {
this.isNew = false
this.templateService
.get(parseInt(id))