From f01cbca59f7bae9cbca2e0ee4a7aa3d8401a9730 Mon Sep 17 00:00:00 2001 From: root <953994191@qq.com> Date: Wed, 22 Apr 2026 14:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/sidebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/sidebar.py b/frontend/src/components/sidebar.py index c04a03b..14ca9cd 100644 --- a/frontend/src/components/sidebar.py +++ b/frontend/src/components/sidebar.py @@ -106,7 +106,7 @@ def _render_thread_item(thread: dict): is_current = thread_id == AppState.get_current_thread_id() # 根据是否当前线程改变按钮样式 - btn_type = "primary" if is_current else "tertiary" + btn_type = "primary" if is_current else "secondary" # 为了避免内容过长,截断摘要 display_text = summary[:15] + "..." if len(summary) > 15 else summary