mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 19:49:01 +01:00
fix(client/search): freeze in board
This commit is contained in:
parent
1d8b55be5e
commit
95987d474d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user