From 0ed21b69f875602428887d07adfc5bb2039201f4 Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Thu, 6 Mar 2025 11:39:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Fix=20chat=20select=20err?= =?UTF-8?q?or.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/chat-select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/chat-select.tsx b/web/src/components/chat-select.tsx index fe84b45..989f78d 100644 --- a/web/src/components/chat-select.tsx +++ b/web/src/components/chat-select.tsx @@ -123,7 +123,7 @@ export default function ChatSelect({ disabled }: { disabled: boolean }) { className={cn( "h-3 w-1 rounded-md bg-green-500 opacity-0", { - "opacity-100": chat.autoEnabled, + "opacity-100": chat.auto?.downloadEnabled ?? chat.auto?.preloadEnabled, }, )} />