@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.
- package/bundles/sumaris-net.ngx-components.umd.js +4 -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/esm2015/src/app/core/form/entity-editor.class.js +5 -2
- package/fesm2015/sumaris-net.ngx-components.js +4 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -28345,7 +28345,10 @@
|
|
|
28345
28345
|
}
|
|
28346
28346
|
};
|
|
28347
28347
|
AppEntityEditor.prototype.setError = function (err, opts) {
|
|
28348
|
-
if (!err
|
|
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
|
}
|