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
web: publish vaultLocked event from db eventManager
Ammar Ahmed75c8ca29ef0b
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxindex 0eb3824cd..426212fde 100644--- a/apps/web/src/components/editor/index.tsx+++ b/apps/web/src/components/editor/index.tsx@@ -303,7 +303,7 @@ function EditorView({const result = await db.vault.decryptContent(item)- .catch(() => EV.publish(EVENTS.vaultLocked));+ .catch(() => db.eventManager.publish(EVENTS.vaultLocked));if (!result) return;editor.updateContent(result.data);} else if (isNote && session.note.title !== item.title) {