mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(in-app-help): note list when rendering in sidebar
This commit is contained in:
@@ -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" &&
|
||||
|
||||
Reference in New Issue
Block a user