mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(in-app-help): note list when rendering in sidebar
This commit is contained in:
parent
5552db034b
commit
50dcc92307
@ -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" &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user