mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
when resolving note path attempt to find one going through hoisted note
This commit is contained in:
@@ -542,7 +542,7 @@ class NoteShort {
|
||||
});
|
||||
}
|
||||
|
||||
hasAncestor(ancestorNote, visitedNoteIds) {
|
||||
hasAncestor(ancestorNote, visitedNoteIds = null) {
|
||||
if (this.noteId === ancestorNote.noteId) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user