mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
fix(in-app-help): proper note hoisting
This commit is contained in:
parent
e24013adf5
commit
45ddafba6d
@ -91,7 +91,7 @@ export default class RootCommandExecutor extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async showHelpCommand() {
|
async showHelpCommand() {
|
||||||
await appContext.tabManager.openTabWithNoteWithHoisting("_help", { activate: true });
|
await this.showAndHoistSubtree("_help");
|
||||||
}
|
}
|
||||||
|
|
||||||
async showLaunchBarSubtreeCommand() {
|
async showLaunchBarSubtreeCommand() {
|
||||||
|
@ -353,7 +353,8 @@ function buildHiddenSubtreeDefinition(): HiddenSubtreeItem {
|
|||||||
title: t("hidden-subtree.user-guide"),
|
title: t("hidden-subtree.user-guide"),
|
||||||
type: "book",
|
type: "book",
|
||||||
icon: "bx-help-circle",
|
icon: "bx-help-circle",
|
||||||
children: getHelpHiddenSubtreeData()
|
children: getHelpHiddenSubtreeData(),
|
||||||
|
isExpanded: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user