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

@@ -79,7 +79,7 @@ class TabContext extends Component {
return inputNotePath;
}
const resolvedNotePath = await treeService.resolveNotePath(inputNotePath);
const resolvedNotePath = await treeService.resolveNotePath(inputNotePath, this.hoistedNoteId);
if (!resolvedNotePath) {
logError(`Cannot resolve note path ${inputNotePath}`);