mirror of
https://github.com/zadam/trilium.git
synced 2026-06-26 19:51:08 +02:00
fix(llm): hide sidebar item if already in a chat
This commit is contained in:
@@ -94,7 +94,7 @@ function useItems(rightPaneVisible: boolean, widgetsByParent: WidgetsByParent) {
|
||||
},
|
||||
{
|
||||
el: <SidebarChat />,
|
||||
enabled: true,
|
||||
enabled: noteType !== "llmChat",
|
||||
position: 1000
|
||||
},
|
||||
...widgetsByParent.getLegacyWidgets("right-pane").map((widget) => ({
|
||||
|
||||
Reference in New Issue
Block a user