Merge remote-tracking branch 'origin/master'

This commit is contained in:
zadam 2023-05-26 10:55:50 +02:00
commit 6878877acd

View file

@ -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