mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
when resolving note path attempt to find one going through hoisted note
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user