fix collapse tree

This commit is contained in:
zadam
2021-02-04 23:08:16 +01:00
parent 6469937393
commit 397f0d1326
3 changed files with 7 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ function load() {
}
for (const row of sql.iterateRows(`SELECT branchId, noteId, parentNoteId, prefix, notePosition, isExpanded FROM branches WHERE isDeleted = 0`, [])) {
new Branch(noteCache, row);
const branch = new Branch(noteCache, row);
}
for (const row of sql.iterateRows(`SELECT attributeId, noteId, type, name, value, isInheritable, position FROM attributes WHERE isDeleted = 0`, [])) {