mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
buttons on the left
This commit is contained in:
@@ -3,6 +3,7 @@ import appContext from "./app_context.js";
|
||||
import dateNoteService from "../services/date_notes.js";
|
||||
import treeService from "../services/tree.js";
|
||||
import openService from "./open.js";
|
||||
import protectedSessionService from "./protected_session.js";
|
||||
|
||||
export default class RootCommandExecutor extends Component {
|
||||
jumpToNoteCommand() {
|
||||
@@ -93,4 +94,12 @@ export default class RootCommandExecutor extends Component {
|
||||
openService.openNoteExternally(noteId);
|
||||
}
|
||||
}
|
||||
|
||||
enterProtectedSessionCommand() {
|
||||
protectedSessionService.enterProtectedSession();
|
||||
}
|
||||
|
||||
leaveProtectedSessionCommand() {
|
||||
protectedSessionService.leaveProtectedSession();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user