fix(llm): hide sidebar item if already in a chat

This commit is contained in:
Elian Doran
2026-03-29 19:52:44 +03:00
parent 9fa2e940d6
commit 660facea96

View File

@@ -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) => ({