mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
fixed infinite recursion with search notes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user