fix(in-app-help): proper note hoisting

This commit is contained in:
Elian Doran 2025-02-02 17:54:14 +02:00
parent e24013adf5
commit 45ddafba6d
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export default class RootCommandExecutor extends Component {
}
async showHelpCommand() {
await appContext.tabManager.openTabWithNoteWithHoisting("_help", { activate: true });
await this.showAndHoistSubtree("_help");
}
async showLaunchBarSubtreeCommand() {

View File

@ -353,7 +353,8 @@ function buildHiddenSubtreeDefinition(): HiddenSubtreeItem {
title: t("hidden-subtree.user-guide"),
type: "book",
icon: "bx-help-circle",
children: getHelpHiddenSubtreeData()
children: getHelpHiddenSubtreeData(),
isExpanded: true
}
]
};