global menu can open the user guide

This commit is contained in:
zadam
2022-12-30 17:41:45 +01:00
parent 94dcaae12d
commit d2b906bc1b
4 changed files with 9 additions and 9 deletions

View File

@@ -100,6 +100,10 @@ export default class RootCommandExecutor extends Component {
await this.showAndHoistSubtree('_search');
}
async showUserGuideCommand() {
await this.showAndHoistSubtree('_userGuide');
}
async showAndHoistSubtree(subtreeNoteId) {
await appContext.tabManager.openContextWithNote(subtreeNoteId, true, null, subtreeNoteId);
}