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
feat: remove trash from merger & backup
thecodrrb1396234204c
diff --git a/packages/core/api/sync/merger.js b/packages/core/api/sync/merger.jsindex e0c74f8cf..1ebff3214 100644--- a/packages/core/api/sync/merger.js+++ b/packages/core/api/sync/merger.js@@ -90,7 +90,6 @@ class Merger {synced,notebooks = [],content = [],- trash = [],vaultKey,settings = [],attachments = [],@@ -183,12 +182,6 @@ class Merger {));- await this._mergeArray(- trash,- () => undefined,- (item) => this._db.trash.add(item)- );-return true;}}diff --git a/packages/core/database/backup.js b/packages/core/database/backup.jsindex 7c0d4a3e1..ecde82b38 100644--- a/packages/core/database/backup.js+++ b/packages/core/database/backup.js@@ -125,10 +125,6 @@ export default class Backup {index: data["notebooks"],dbCollection: this._db.notebooks,},- {- index: data["trash"],- dbCollection: this._db.trash,- },{index: data["content"],dbCollection: this._db.content,