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
desktop: handle case when property is a boolean false when reading config
Abdullah Attaa0898d9223de
diff --git a/apps/web/desktop/jsonstorage/index.js b/apps/web/desktop/jsonstorage/index.jsindex 7c0fa8b04..511acca62 100644--- a/apps/web/desktop/jsonstorage/index.js+++ b/apps/web/desktop/jsonstorage/index.js@@ -27,7 +27,7 @@ const filePath = join(directory, filename);class JSONStorage {static get(key, def) {const json = this.readJson();- return json[key] || def;+ return json[key] === undefined ? def : json[key];}static set(key, value) {