mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
improve "open" button behaviour for files when in browser
This commit is contained in:
@@ -45,9 +45,10 @@ export default class RootCommandExecutor extends Component {
|
||||
|
||||
openNoteExternallyCommand() {
|
||||
const noteId = appContext.tabManager.getActiveContextNoteId();
|
||||
|
||||
const mime = appContext.tabManager.getActiveContextNoteMime()
|
||||
|
||||
if (noteId) {
|
||||
openService.openNoteExternally(noteId);
|
||||
openService.openNoteExternally(noteId, mime);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user