@sumaris-net/ngx-components 1.15.6 → 1.15.7

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.
@@ -28345,7 +28345,10 @@
28345
28345
  }
28346
28346
  };
28347
28347
  AppEntityEditor.prototype.setError = function (err, opts) {
28348
- if (!err || typeof err === 'string') {
28348
+ if (!err) {
28349
+ this.error = undefined;
28350
+ }
28351
+ else if (typeof err === 'string') {
28349
28352
  console.error('[entity-editor] Error: ' + (err || ''));
28350
28353
  this.error = err;
28351
28354
  }