mirror of
https://github.com/appy-one/acebase.git
synced 2026-06-30 06:02:02 -06:00
custom storage bugfix
This commit is contained in:
parent
79ac2fda4d
commit
11e64b0f0c
3 changed files with 3 additions and 3 deletions
2
dist/browser.js
vendored
2
dist/browser.js
vendored
|
|
@ -7039,7 +7039,7 @@ class CustomStorage extends Storage {
|
|||
// lock = parentLock;
|
||||
const lockPath = await transaction.moveToParentPath(pathInfo.parentPath);
|
||||
console.assert(lockPath === pathInfo.parentPath, `transaction.moveToParentPath() did not move to the right parent path of "${path}"`)
|
||||
await this._writeNodeWithTracking(pathInfo.parentPath, { [pathInfo.key]: value }, { transaction, merge: true });
|
||||
await this._writeNodeWithTracking(pathInfo.parentPath, { [pathInfo.key]: updates }, { transaction, merge: true });
|
||||
// });
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
2
dist/browser.min.js
vendored
2
dist/browser.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1400,7 +1400,7 @@ class CustomStorage extends Storage {
|
|||
// lock = parentLock;
|
||||
const lockPath = await transaction.moveToParentPath(pathInfo.parentPath);
|
||||
console.assert(lockPath === pathInfo.parentPath, `transaction.moveToParentPath() did not move to the right parent path of "${path}"`)
|
||||
await this._writeNodeWithTracking(pathInfo.parentPath, { [pathInfo.key]: value }, { transaction, merge: true });
|
||||
await this._writeNodeWithTracking(pathInfo.parentPath, { [pathInfo.key]: updates }, { transaction, merge: true });
|
||||
// });
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue