fix finding note paths of hidden notes, fixes #2262

This commit is contained in:
zadam
2021-10-24 14:37:41 +02:00
parent 6e0a65b59c
commit 33aa72eb97
5 changed files with 8 additions and 9 deletions

View File

@@ -45,6 +45,10 @@ function load() {
new Option(row);
}
for (const noteId in becca.notes) {
becca.notes[noteId].sortParents();
}
becca.loaded = true;
log.info(`Becca (note cache) load took ${Date.now() - start}ms`);
@@ -151,7 +155,7 @@ function branchUpdated(branch) {
if (childNote) {
childNote.flatTextCache = null;
childNote.resortParents();
childNote.sortParents();
}
}