when resolving note path attempt to find one going through hoisted note

This commit is contained in:
zadam
2021-03-03 21:49:57 +01:00
parent f8c310eb8f
commit 73514a63d8
8 changed files with 634 additions and 191 deletions

View File

@@ -807,7 +807,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
/** @let {FancytreeNode} */
let parentNode = this.getNodesByNoteId('root')[0];
const resolvedNotePathSegments = (await treeService.resolveNotePathToSegments(notePath, logErrors))
const resolvedNotePathSegments = (await treeService.resolveNotePathToSegments(notePath, this.hoistedNoteId, logErrors))
.slice(1);
if (!resolvedNotePathSegments) {