From 47ffdc3a3a10b49f218073651a588abf92629b3c Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 7 May 2026 11:50:55 -0500 Subject: [PATCH] more messages --- .../components/config-form/section-configs/detect.ts | 2 +- .../components/config-form/section-configs/objects.ts | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/web/src/components/config-form/section-configs/detect.ts b/web/src/components/config-form/section-configs/detect.ts index ac42b85b2e..5bbd219822 100644 --- a/web/src/components/config-form/section-configs/detect.ts +++ b/web/src/components/config-form/section-configs/detect.ts @@ -7,7 +7,7 @@ const detect: SectionConfigOverrides = { { key: "detect-disabled", messageKey: "configMessages.detect.disabled", - severity: "warning", + severity: "info", condition: (ctx) => ctx.level === "camera" && ctx.formData?.enabled === false, }, diff --git a/web/src/components/config-form/section-configs/objects.ts b/web/src/components/config-form/section-configs/objects.ts index d17b5a51dc..3d27abb012 100644 --- a/web/src/components/config-form/section-configs/objects.ts +++ b/web/src/components/config-form/section-configs/objects.ts @@ -11,6 +11,16 @@ const hideAttributeFilters = (config: FrigateConfig): string[] => const objects: SectionConfigOverrides = { base: { sectionDocs: "/configuration/object_filters", + messages: [ + { + key: "detect-disabled", + messageKey: "configMessages.detect.disabled", + severity: "info", + condition: (ctx) => + ctx.level === "camera" && + ctx.fullCameraConfig?.detect?.enabled === false, + }, + ], fieldMessages: [ { key: "genai-no-descriptions-provider",