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
collection: Cannot read property 'ev' of undefined
thecodrrbfb40a5cf1f0
diff --git a/packages/core/collections/collection.js b/packages/core/collections/collection.jsindex 713c876fc..aba4b92ec 100644--- a/packages/core/collections/collection.js+++ b/packages/core/collections/collection.js@@ -8,7 +8,7 @@ class Collection {if (collection.init) await collection.init();if (collection._collection.clear)- this._db.ev.subscribe("clear", () => collection._collection.clear());+ db.ev.subscribe("clear", () => collection._collection.clear());return collection;}