mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
refactoring of note detail API
This commit is contained in:
@@ -78,7 +78,9 @@ export default class Entrypoints extends Component {
|
||||
|
||||
await treeService.expandToNote(note.noteId);
|
||||
|
||||
await noteDetailService.openInTab(note.noteId, true);
|
||||
const tabContext = appContext.openEmptyTab();
|
||||
appContext.activateTab(tabContext.tabId);
|
||||
await tabContext.setNote(note.noteId);
|
||||
|
||||
noteDetailService.focusAndSelectTitle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user