fix(client/search): table freezing due to nesting

This commit is contained in:
Elian Doran
2025-10-20 17:14:47 +03:00
parent c7224bc0d1
commit 8939fac447

View File

@@ -20,6 +20,10 @@ export async function buildRowDefinitions(parentNote: FNote, infos: AttributeDef
let hasSubtree = false;
let rowNumber = childBranches.length;
if (parentNote.type === "search") {
maxDepth = 0;
}
for (const branch of childBranches) {
const note = await branch.getNote();
if (!note || (!includeArchived && note.isArchived)) {