mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
when resolving note path attempt to find one going through hoisted note
This commit is contained in:
@@ -205,7 +205,7 @@ export default class TabManager extends Component {
|
||||
let hoistedNoteId = 'root';
|
||||
|
||||
if (tabContext) {
|
||||
const resolvedNotePath = await treeService.resolveNotePath(notePath);
|
||||
const resolvedNotePath = await treeService.resolveNotePath(notePath, tabContext.hoistedNoteId);
|
||||
|
||||
if (resolvedNotePath.includes(tabContext.hoistedNoteId)) {
|
||||
hoistedNoteId = tabContext.hoistedNoteId;
|
||||
|
||||
Reference in New Issue
Block a user