small search refactorings

This commit is contained in:
zadam
2023-02-28 23:23:17 +01:00
parent ee2953a5e1
commit f883fde74a
6 changed files with 30 additions and 23 deletions

View File

@@ -1168,9 +1168,7 @@ class BNote extends AbstractBeccaEntity {
return false;
} else if (parentNote.noteId === '_hidden') {
continue;
}
if (!parentNote.isHiddenCompletely()) {
} else if (!parentNote.isHiddenCompletely()) {
return false;
}
}