ui/grid view: do not show the item menu for the options root

This commit is contained in:
Adorian Doran 2026-02-23 11:15:35 +02:00
parent 25e67f62d5
commit 00046d4145

View File

@ -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