fix(in-app-help): note list when rendering in sidebar

This commit is contained in:
Elian Doran 2025-02-07 22:45:41 +02:00
parent 5552db034b
commit 50dcc92307
No known key found for this signature in database

View File

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