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: check if vault is unlocked before saving
thecodrr55d16d4672d1
diff --git a/packages/core/api/vault.js b/packages/core/api/vault.jsindex c2a0f2cdb..0bcd59884 100644--- a/packages/core/api/vault.js+++ b/packages/core/api/vault.js@@ -150,6 +150,7 @@ export default class Vault {*/async save(note) {if (!note) return;+ await this._check();// roll over erase timerthis._startEraser();return await this._lockNote(note, this._password);