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): freeze in board
Elian Doran95987d474d89
diff --git a/apps/client/src/widgets/collections/board/data.ts b/apps/client/src/widgets/collections/board/data.tsindex 273ca3c917..db315564a0 100644--- a/apps/client/src/widgets/collections/board/data.ts+++ b/apps/client/src/widgets/collections/board/data.ts@@ -66,7 +66,7 @@ async function recursiveGroupBy(branches: FBranch[], byColumn: ColumnMap, groupBconst note = await branch.getNote();if (!note || (!includeArchived && note.isArchived)) continue;- if (note.hasChildren()) {+ if (note.type !== "search" && note.hasChildren()) {await recursiveGroupBy(note.getChildBranches(), byColumn, groupByColumn, includeArchived);}