Skip to content

Build your personal knowledge base with Trilium Notes

fix(note_details): appearing in options

Elian Doran2b195155ed9e
diff --git a/apps/client/src/widgets/NoteTitleDetails.tsx b/apps/client/src/widgets/NoteTitleDetails.tsx
index 60618ecb55..bbd00364c2 100644
--- a/apps/client/src/widgets/NoteTitleDetails.tsx
+++ b/apps/client/src/widgets/NoteTitleDetails.tsx
@@ -3,11 +3,12 @@ import { useNoteContext, useNoteProperty } from "./react/hooks";
export default function NoteTitleDetails() {
const { note } = useNoteContext();
+ const isHiddenNote = note && note.noteId !== "_search" && note.noteId.startsWith("_");
const noteType = useNoteProperty(note, "type");
return (
<div className="title-details">
- {note && noteType === "book" && <CollectionProperties note={note} />}
+ {note && !isHiddenNote && noteType === "book" && <CollectionProperties note={note} />}
</div>
);
}