mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
cleanup note open custom
This commit is contained in:
@@ -54,13 +54,11 @@ export default class RootCommandExecutor extends Component {
|
||||
openService.openNoteExternally(noteId, mime);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
openNoteCustomCommand() {
|
||||
const noteId = appContext.tabManager.getActiveContextNoteId();
|
||||
const mime = appContext.tabManager.getActiveContextNoteMime()
|
||||
|
||||
if (noteId) {
|
||||
openService.openNoteCustom(noteId, mime);
|
||||
openService.openNoteCustom(noteId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user