Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client/search): table freezing due to nesting
Elian Doran8939fac44769
diff --git a/apps/client/src/widgets/collections/table/rows.ts b/apps/client/src/widgets/collections/table/rows.tsindex 84b4c5882d..e1b0a765e8 100644--- a/apps/client/src/widgets/collections/table/rows.ts+++ b/apps/client/src/widgets/collections/table/rows.ts@@ -20,6 +20,10 @@ export async function buildRowDefinitions(parentNote: FNote, infos: AttributeDeflet 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)) {