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: download attachments on real-time sync
Abdullah Atta30662f147a23
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxindex 3eb27f539..ab40fb0e6 100644--- a/apps/web/src/components/editor/index.tsx+++ b/apps/web/src/components/editor/index.tsx@@ -101,6 +101,14 @@ export default function EditorManager({}editorInstance.current?.updateContent(item.data);++ db.eventManager.subscribe(+ EVENTS.syncCompleted,+ async () => {+ await db.attachments?.downloadImages(id);+ },+ true+ );} else if (isNote) {if (!locked && item.locked) return EV.publish(EVENTS.vaultLocked);