mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
add 'Open note on server' menu item to NoteActions drop-down
This commit is contained in:
@@ -66,6 +66,13 @@ export default class RootCommandExecutor extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
openNoteOnServerCommand() {
|
||||
const noteId = appContext.tabManager.getActiveContextNoteId();
|
||||
if (noteId) {
|
||||
openService.openNoteOnServer(noteId);
|
||||
}
|
||||
}
|
||||
|
||||
enterProtectedSessionCommand() {
|
||||
protectedSessionService.enterProtectedSession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user