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: do not create new trash item on sync
thecodrr5cce79825738
diff --git a/packages/core/collections/trash.js b/packages/core/collections/trash.jsindex 314f483f4..0caeea460 100644--- a/packages/core/collections/trash.js+++ b/packages/core/collections/trash.js@@ -44,6 +44,9 @@ export default class Trash {}async add(item) {+ if (item.dateDeleted) {+ return await this._collection.addItem(item);+ }await this._collection.addItem({...item,id: getId(),