🐛 fix: Fix chat select error.

This commit is contained in:
jarvis2f 2025-03-06 11:39:29 +08:00
parent 261e2ceaa9
commit 0ed21b69f8

View file

@ -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,
},
)}
/>