refactor(webui): reuse sidebar selection highlight
This commit is contained in:
1 parent
e1894d6f0b
commit
0cb7dd5cc9
7 files changed
+224
-106
No files matched your search
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user