From b1aad2bc6d5752d762861587433b15ca94b4bdc6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 6 May 2026 07:56:44 -0500 Subject: [PATCH] don't display fps warning for dedicated LPR cameras --- web/src/components/config-form/section-configs/detect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/config-form/section-configs/detect.ts b/web/src/components/config-form/section-configs/detect.ts index ef14d13fd..df0664273 100644 --- a/web/src/components/config-form/section-configs/detect.ts +++ b/web/src/components/config-form/section-configs/detect.ts @@ -12,6 +12,7 @@ const detect: SectionConfigOverrides = { position: "after", condition: (ctx) => { if (ctx.level !== "camera" || !ctx.fullCameraConfig) return false; + if (ctx.fullCameraConfig.type === "lpr") return false; const detectFps = ctx.formData?.fps as number | undefined; const streamFps = ctx.fullCameraConfig.detect?.fps; return detectFps != null && streamFps != null && detectFps > 5;