mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix: init notes before cleaning up notebooks
This commit is contained in:
@@ -142,7 +142,7 @@ export default class Backup {
|
||||
];
|
||||
|
||||
if (await this._migrator.migrate(collections, (id) => data[id], version)) {
|
||||
this._db.notebooks.cleanup();
|
||||
await this._db.notebooks.cleanup();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user