From 1d2832ac3051c046c130e6b3b8bdf91e99af96a7 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 20 Oct 2026 09:05:24 -0700 Subject: [PATCH] Update ocr-template-editor.component.ts --- .../ocr-template-editor/ocr-template-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.ts b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.ts index d849c4236..bcba56396 100644 --- a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.ts +++ b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.ts @@ -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))