mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
prevent infinite recursion when checking shared status
This commit is contained in:
@@ -790,7 +790,7 @@ class NoteShort {
|
||||
|
||||
const parentNote = froca.notes[parentNoteId];
|
||||
|
||||
if (!parentNote) {
|
||||
if (!parentNote || parentNote.type === 'search') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user