A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: getNotes() sets this.notes to null
thewisefarmerr3d1c80bc9659
diff --git a/packages/core/api/database.js b/packages/core/api/database.jsindex 2fdba8f68..c10d1ba80 100644--- a/packages/core/api/database.js+++ b/packages/core/api/database.js@@ -16,6 +16,7 @@ class Database {async getNotes() {//update our cachethis.notes = await this.storage.read(KEYS.notes);+ if (!this.notes) this.notes = {};return Object.values(this.notes);}