@sumaris-net/ngx-components 1.11.12 → 1.11.13
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/bundles/sumaris-net.ngx-components.umd.js +3 -2
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/entity-editor.class.js +4 -3
- package/fesm2015/sumaris-net.ngx-components.js +3 -2
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -27441,7 +27441,7 @@
|
|
|
27441
27441
|
if (!_this.dirty) {
|
|
27442
27442
|
if (_this.debug)
|
|
27443
27443
|
console.debug("[data-editor] Changes detected on server, at {" + data.updateDate + "}: reloading page...");
|
|
27444
|
-
_this.
|
|
27444
|
+
_this.reload();
|
|
27445
27445
|
}
|
|
27446
27446
|
else {
|
|
27447
27447
|
if (_this.debug)
|
|
@@ -27774,12 +27774,13 @@
|
|
|
27774
27774
|
});
|
|
27775
27775
|
};
|
|
27776
27776
|
AppEntityEditor.prototype.reload = function () {
|
|
27777
|
+
var _a;
|
|
27777
27778
|
return __awaiter(this, void 0, void 0, function () {
|
|
27778
27779
|
return __generator(this, function (_c) {
|
|
27779
27780
|
switch (_c.label) {
|
|
27780
27781
|
case 0:
|
|
27781
27782
|
this.markAsLoading();
|
|
27782
|
-
return [4 /*yield*/, this.load(this.data
|
|
27783
|
+
return [4 /*yield*/, this.load((_a = this.data) === null || _a === void 0 ? void 0 : _a.id)];
|
|
27783
27784
|
case 1:
|
|
27784
27785
|
_c.sent();
|
|
27785
27786
|
return [2 /*return*/];
|