refactoring of note detail API

This commit is contained in:
zadam
2020-01-24 17:54:47 +01:00
parent 4b66765cc1
commit 606d5afcab
18 changed files with 107 additions and 219 deletions

View File

@@ -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();
}