fixes in tree loading

This commit is contained in:
azivner
2018-08-12 12:59:38 +02:00
parent af4ea66742
commit 27be3b4c90
3 changed files with 5 additions and 5 deletions

View File

@@ -51,12 +51,12 @@ class TreeCache {
if (!this.notes[noteId]) {
messagingService.logError(`Can't find note ${noteId}`);
return `[unknown ${noteId}]`;
return null;
}
else {
return this.notes[noteId];
}
});
}).filter(note => note !== null);
}
/** @return NoteShort */