add 'Open note on server' menu item to NoteActions drop-down

This commit is contained in:
contributor
2025-10-22 14:13:24 +03:00
parent c781eab061
commit a1d38b6bb8
5 changed files with 30 additions and 1 deletions

View File

@@ -66,6 +66,13 @@ export default class RootCommandExecutor extends Component {
}
}
openNoteOnServerCommand() {
const noteId = appContext.tabManager.getActiveContextNoteId();
if (noteId) {
openService.openNoteOnServer(noteId);
}
}
enterProtectedSessionCommand() {
protectedSessionService.enterProtectedSession();
}