From e6632700722dfebe896839a3b836c5543c3ef661 Mon Sep 17 00:00:00 2001
From: Wentao Lyu <35-wentao.lyu@users.noreply.git.stereye.tech>
Date: Wed, 29 Mar 2023 05:48:44 +0800
Subject: [PATCH] fix: show message list.
---
client/src/routes/Chat.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/src/routes/Chat.jsx b/client/src/routes/Chat.jsx
index 04cdf93a95..2d1607baa4 100644
--- a/client/src/routes/Chat.jsx
+++ b/client/src/routes/Chat.jsx
@@ -68,7 +68,7 @@ export default function Chat() {
return (
<>
- {conversationId == 'new' ? : }
+ {conversationId === 'new' && !!messagesTree?.length ? : }
>
);