From 50dcc923073c755f4d83d888c909ad50b430cc90 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 7 Feb 2025 22:45:41 +0200 Subject: [PATCH] fix(in-app-help): note list when rendering in sidebar --- src/public/app/components/note_context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/components/note_context.ts b/src/public/app/components/note_context.ts index fb3a691a0..7656894c9 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" &&