isobit-ui 0.0.341 → 0.0.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.342
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6382,7 +6382,6 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6382
6382
|
save: function save() {
|
|
6383
6383
|
try {
|
|
6384
6384
|
var _exit2 = false;
|
|
6385
|
-
var storage;
|
|
6386
6385
|
|
|
6387
6386
|
var _this4 = this;
|
|
6388
6387
|
|
|
@@ -6416,7 +6415,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6416
6415
|
if (!(_typeof(o) === 'object' && !Array.isArray(o) && o !== null)) return;
|
|
6417
6416
|
return _invoke(function () {
|
|
6418
6417
|
if (!action || !_this4.app.networkStatus.connected) {
|
|
6419
|
-
storage = me.$children[0].storage;
|
|
6418
|
+
var storage = me.$children[0].storage;
|
|
6420
6419
|
return _await(me.getStoredList(storage), function (storedList) {
|
|
6421
6420
|
if (!storedList) storedList = [];
|
|
6422
6421
|
|
|
@@ -6479,6 +6478,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6479
6478
|
var data = result.data;
|
|
6480
6479
|
|
|
6481
6480
|
if (o.tmpId) {
|
|
6481
|
+
var storage = me.$children[0].storage;
|
|
6482
|
+
|
|
6482
6483
|
var objectStore = window._.db.transaction([storage], "readwrite").objectStore(storage);
|
|
6483
6484
|
|
|
6484
6485
|
var item = objectStore.get(o.tmpId);
|