feat(in-app-help): don't open table of contents when in help view

This commit is contained in:
Elian Doran
2025-02-02 21:37:41 +02:00
parent b2bbf9cc5b
commit e2c0c6ef92
3 changed files with 13 additions and 3 deletions

View File

@@ -55,7 +55,10 @@ export default class ContextualHelpButton extends NoteContextAwareWidget {
this.triggerCommand("openNewNoteSplit", {
ntxId,
notePath: `_help_${this.helpNoteIdToOpen}`,
hoistedNoteId: "_help"
hoistedNoteId: "_help",
viewScope: {
viewMode: "contextual-help"
}
})
});
}