From 613b528b7e1b690501ea17a74fc37af53bc0cae2 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Sat, 27 Jun 2026 22:19:01 -0700
Subject: [PATCH] Remove afterviewinit, fix page change, custom date format per
zone
---
.../ocr-template-editor.component.html | 2 +-
.../ocr-template-editor.component.ts | 68 ++++++++++++-------
2 files changed, 45 insertions(+), 25 deletions(-)
diff --git a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html
index 51cc2375f..dd17eda61 100644
--- a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html
+++ b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html
@@ -286,7 +286,7 @@
}
- @if (dateFormatCustom) {
+ @if (usesCustomDateFormat(zone)) {