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(sidebar): pressing a sidebar button would collapse the section
Elian Doran4c27ed999783
diff --git a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx b/apps/client/src/widgets/sidebar/RightPanelWidget.tsxindex 099a370899..604b39e7c4 100644--- a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelWidget.tsx@@ -51,7 +51,7 @@ export default function RightPanelWidget({ id, title, buttons, children, contain><ActionButton icon="bx bx-chevron-down" text="" /><div class="card-header-title">{title}</div>- <div class="card-header-buttons">+ <div class="card-header-buttons" onClick={e => e.stopPropagation()}>{buttons}{contextMenuItems && (<ActionButton