faster opening of the date notes (no animation)

This commit is contained in:
zadam
2019-04-14 18:16:15 +02:00
parent 71916b5e28
commit 1bd769827d
4 changed files with 6 additions and 2 deletions

View File

@@ -96,6 +96,10 @@ class TreeCache {
const resp = await server.post('tree/load', { noteIds: missingNoteIds });
this.addResp(resp.notes, resp.branches, resp.relations);
for (const note of resp.notes) {
await this.reloadParents(note.noteId);
}
}
return noteIds.map(noteId => {