ywana-core8 0.0.873 → 0.0.875
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.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -7125,7 +7125,7 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7125
7125
|
try {
|
7126
7126
|
var _this = this;
|
7127
7127
|
var _temp4 = _catch$4(function () {
|
7128
|
-
return Promise.resolve(API.all(null, page)).then(function (data) {
|
7128
|
+
return Promise.resolve(API.all(null, null, page)).then(function (data) {
|
7129
7129
|
_this.all = field ? data[field] : data;
|
7130
7130
|
});
|
7131
7131
|
}, function (error) {
|
@@ -7194,7 +7194,9 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7194
7194
|
});
|
7195
7195
|
});
|
7196
7196
|
}, function (error) {
|
7197
|
-
|
7197
|
+
return Promise.resolve(_this4.load()).then(function () {
|
7198
|
+
console.log(error);
|
7199
|
+
});
|
7198
7200
|
});
|
7199
7201
|
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
7200
7202
|
} catch (e) {
|