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(in-app-help): note list when rendering in sidebar
Elian Doran50dcc923073c
diff --git a/src/public/app/components/note_context.ts b/src/public/app/components/note_context.tsindex fb3a691a0a..7656894c94 100644--- a/src/public/app/components/note_context.ts+++ b/src/public/app/components/note_context.ts@@ -289,7 +289,7 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">hasNoteList() {return (this.note &&- this.viewScope?.viewMode === "default" &&+ ["default", "contextual-help"].includes(this.viewScope?.viewMode ?? "") &&this.note.hasChildren() &&["book", "text", "code"].includes(this.note.type) &&this.note.mime !== "text/x-sqlite;schema=trilium" &&