Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): launch bar move commands not working (fixes #989)

Elian Doranb367862fe879
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index 04bf8a0ebe..158a31677b 100644
--- a/src/public/app/widgets/note_tree.js
+++ b/src/public/app/widgets/note_tree.js
@@ -1636,12 +1636,12 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
}
- moveShortcutToVisibleCommand({ node, selectedOrActiveBranchIds }) {
- branchService.moveToParentNote(selectedOrActiveBranchIds, "_lbVisibleLaunchers");
+ moveLauncherToVisibleCommand({ selectedOrActiveBranchIds }) {
+ branchService.moveToParentNote(selectedOrActiveBranchIds, "_lbRoot__lbVisibleLaunchers");
}
- moveShortcutToAvailableCommand({ node, selectedOrActiveBranchIds }) {
- branchService.moveToParentNote(selectedOrActiveBranchIds, "_lbAvailableLaunchers");
+ moveLauncherToAvailableCommand({ selectedOrActiveBranchIds }) {
+ branchService.moveToParentNote(selectedOrActiveBranchIds, "_lbRoot__lbAvailableLaunchers");
}
addNoteLauncherCommand({ node }) {