fix: repair all notebook references on sync/backup

This commit is contained in:
thecodrr
2021-11-12 11:47:03 +05:00
parent e608eaaedf
commit 64535cc61c
4 changed files with 14 additions and 2 deletions

View File

@@ -142,6 +142,7 @@ export default class Backup {
if (await this._migrator.migrate(collections, (id) => data[id], version)) {
await this._db.notes.repairReferences();
await this._db.notebooks.repairReferences();
}
}