feat: remove trash from merger & backup

This commit is contained in:
thecodrr
2021-11-12 09:38:11 +05:00
parent 9d5275593d
commit b139623420
2 changed files with 0 additions and 11 deletions

View File

@@ -90,7 +90,6 @@ class Merger {
synced, synced,
notebooks = [], notebooks = [],
content = [], content = [],
trash = [],
vaultKey, vaultKey,
settings = [], settings = [],
attachments = [], attachments = [],
@@ -183,12 +182,6 @@ class Merger {
) )
); );
await this._mergeArray(
trash,
() => undefined,
(item) => this._db.trash.add(item)
);
return true; return true;
} }
} }

View File

@@ -125,10 +125,6 @@ export default class Backup {
index: data["notebooks"], index: data["notebooks"],
dbCollection: this._db.notebooks, dbCollection: this._db.notebooks,
}, },
{
index: data["trash"],
dbCollection: this._db.trash,
},
{ {
index: data["content"], index: data["content"],
dbCollection: this._db.content, dbCollection: this._db.content,