fix(client/search): freeze in board

This commit is contained in:
Elian Doran 2025-10-20 17:48:30 +03:00
parent 1d8b55be5e
commit 95987d474d
No known key found for this signature in database

View File

@ -66,7 +66,7 @@ async function recursiveGroupBy(branches: FBranch[], byColumn: ColumnMap, groupB
const note = await branch.getNote(); const note = await branch.getNote();
if (!note || (!includeArchived && note.isArchived)) continue; if (!note || (!includeArchived && note.isArchived)) continue;
if (note.hasChildren()) { if (note.type !== "search" && note.hasChildren()) {
await recursiveGroupBy(note.getChildBranches(), byColumn, groupByColumn, includeArchived); await recursiveGroupBy(note.getChildBranches(), byColumn, groupByColumn, includeArchived);
} }