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
ui/grid view: do not show the item menu for the options root
Adorian Doran00046d41459e
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsxindex 3fd7d2215a..86958615e7 100644--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx@@ -175,7 +175,8 @@ function GridNoteCard(props: GridNoteCardProps) {showNotePath={props.parentNote.type === "search"}highlightedTokens={props.highlightedTokens}/>- <NoteMenuButton notePath={notePath} />+ {(!props.note.isOptions()) && <NoteMenuButton notePath={notePath} />}+</h5><NoteContent note={props.note}trim