mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 08:14:25 +01:00
fix(client/search): table freezing due to nesting
This commit is contained in:
parent
c7224bc0d1
commit
8939fac447
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user