note list improvements

This commit is contained in:
zadam
2020-12-13 20:13:57 +01:00
parent 60e2026850
commit de1584eab8
3 changed files with 7 additions and 3 deletions

View File

@@ -262,6 +262,10 @@ class TreeCache {
}
getNoteFromCache(noteId) {
if (!noteId) {
throw new Error("Empty noteId");
}
return this.notes[noteId];
}