Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(llm): hide sidebar item if already in a chat
Elian Doran660facea964e
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsxindex 5adf7a495e..88bd3d9288 100644--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx@@ -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) => ({