fixed infinite recursion with search notes

This commit is contained in:
zadam 2023-05-30 23:54:11 +02:00
parent 74044754e2
commit 375dba3264

View file

@ -392,7 +392,7 @@ class FNote {
for (const parentNote of this.getParentNotes()) {
if (parentNote.noteId === 'root') {
return false;
} else if (parentNote.noteId === '_hidden') {
} else if (parentNote.noteId === '_hidden' || parentNote.type === 'search') {
continue;
}