mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
commit
580ceec6b3
@ -314,7 +314,7 @@ class FNote {
|
|||||||
return [['root']];
|
return [['root']];
|
||||||
}
|
}
|
||||||
|
|
||||||
const parentNotes = this.getParentNotes();
|
const parentNotes = this.getParentNotes().filter(note => note.type !== 'search');
|
||||||
let notePaths = [];
|
let notePaths = [];
|
||||||
|
|
||||||
if (parentNotes.length === 1) { // optimization for most common case
|
if (parentNotes.length === 1) { // optimization for most common case
|
||||||
|
Loading…
x
Reference in New Issue
Block a user