From d2e88ba37abf6d83d9fcffec8574e155b352f4ca Mon Sep 17 00:00:00 2001
From: Classic298 <27028174+Classic298@users.noreply.github.com>
Date: Sun, 25 Oct 2026 00:35:18 +0200
Subject: [PATCH] fix: Web Search Query Generation setting shows while web
search is off (#32986)
Settings > Interface showed the Web Search Query Generation switch even with web search turned off, where it has no effect. It now only shows while web search is on, and its stored value is kept.
Refs #32830
---
.../admin/Settings/Interface.svelte | 22 ++++++++++---------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/lib/components/admin/Settings/Interface.svelte b/src/lib/components/admin/Settings/Interface.svelte
index d53c05032b..a436879dec 100644
--- a/src/lib/components/admin/Settings/Interface.svelte
+++ b/src/lib/components/admin/Settings/Interface.svelte
@@ -541,16 +541,18 @@
/>
-
-
-
+ {#if $appConfig?.features?.enable_web_search}
+
+
+
+ {/if}