mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-28 16:06:47 +01:00
core: fix backup fail if item in null/undefined
This commit is contained in:
@@ -125,6 +125,7 @@ export default class Backup {
|
||||
const items = await this._db.storage.readMulti(chunk);
|
||||
items.forEach(([id, item]) => {
|
||||
if (
|
||||
!item ||
|
||||
invalidKeys.includes(id) ||
|
||||
(item.deleted && !item.type) ||
|
||||
id.startsWith("_uk_")
|
||||
|
||||
Reference in New Issue
Block a user