@sumaris-net/ngx-components 1.8.0 → 1.8.1
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 +5 -1
- 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/doc/changelog.md +2 -1
- package/esm2015/src/app/core/form/entity-editor.class.js +5 -1
- package/esm2015/src/app/core/services/base-entity-service.class.js +2 -2
- package/fesm2015/sumaris-net.ngx-components.js +5 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/entity-editor.class.d.ts +1 -1
|
@@ -23826,7 +23826,7 @@
|
|
|
23826
23826
|
});
|
|
23827
23827
|
};
|
|
23828
23828
|
BaseEntityService.prototype.canUserWrite = function (data, opts) {
|
|
23829
|
-
return
|
|
23829
|
+
return !!data;
|
|
23830
23830
|
};
|
|
23831
23831
|
BaseEntityService.prototype.saveAll = function (entities, opts) {
|
|
23832
23832
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -27742,6 +27742,10 @@
|
|
|
27742
27742
|
if (!opts || opts.emitEvent !== false)
|
|
27743
27743
|
this.markForCheck();
|
|
27744
27744
|
};
|
|
27745
|
+
/* -- public abstract methods (to override) -- */
|
|
27746
|
+
AppEntityEditor.prototype.canUserWrite = function (data, opts) {
|
|
27747
|
+
return this.dataService.canUserWrite(data, opts);
|
|
27748
|
+
};
|
|
27745
27749
|
/* -- protected methods -- */
|
|
27746
27750
|
/**
|
|
27747
27751
|
* Return undefined to keep same tab
|