Merge pull request #3959 from soulsands/fix-search

fix search
pull/255/head
zadam 2023-05-25 23:36:35 +07:00 committed by GitHub
commit 580ceec6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -314,7 +314,7 @@ class FNote {
return [['root']];
}
const parentNotes = this.getParentNotes();
const parentNotes = this.getParentNotes().filter(note => note.type !== 'search');
let notePaths = [];
if (parentNotes.length === 1) { // optimization for most common case