buttons on the left

This commit is contained in:
zadam
2021-05-18 22:14:35 +02:00
parent d18b95d87c
commit 845f5d15c4
7 changed files with 130 additions and 10 deletions

View File

@@ -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();
}
}