From a844c15ac82fa492049ff9215339967dc21d3bae Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Tue, 24 Dec 2024 09:41:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20fix:=20Updated=20chat=20se?= =?UTF-8?q?lection=20component=20to=20improve=20search=20functionality.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/chat-select.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/chat-select.tsx b/web/src/components/chat-select.tsx index 047fd38..523e74b 100644 --- a/web/src/components/chat-select.tsx +++ b/web/src/components/chat-select.tsx @@ -58,7 +58,7 @@ export default function ChatSelect({ disabled }: { disabled: boolean }) { - + )} - {!isLoading && "No chat found."} + {!isLoading && chats.length === 0 && "No chat found."} {chats.map((chat) => (