fixed infinite recursion with search notes

pull/255/head
zadam 2023-05-30 23:54:11 +07:00
parent 74044754e2
commit 375dba3264
1 changed files with 1 additions and 1 deletions

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