@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.
@@ -23826,7 +23826,7 @@
23826
23826
  });
23827
23827
  };
23828
23828
  BaseEntityService.prototype.canUserWrite = function (data, opts) {
23829
- return true;
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