refactor(webui): reuse sidebar selection highlight

This commit is contained in:
Xubin Ren committed 2026-08-01 23:01:43 +08:00
1 parent e1894d6f0b
commit 0cb7dd5cc9
7 files changed
+224 -106

No files matched your search

+2 -1
View File
@@ -1901,8 +1901,9 @@ function Shell({
const sidebarProps = {
sessions,
activeKey,
activeKey: view === "chat" ? activeKey : null,
loading,
newChatActive: view === "chat" && activeKey === null,
onNewChat,
onSelect: onSelectChat,
onRequestDelete,