hoisting note now seems to work correctly in relation to tabs

This commit is contained in:
zadam
2019-05-11 21:27:27 +02:00
parent bd97df5ee9
commit 2dec8f1ad6
7 changed files with 84 additions and 53 deletions

View File

@@ -78,7 +78,9 @@ class TreeContextMenu {
async selectContextMenuItem(event, cmd) {
if (cmd === 'openInTab') {
noteDetailService.openInTab(this.node.data.noteId);
const notePath = treeUtils.getNotePath(this.node);
noteDetailService.openInTab(notePath);
}
else if (cmd.startsWith("insertNoteAfter")) {
const parentNoteId = this.node.data.parentNoteId;