@sumaris-net/ngx-components 2.4.153 → 2.4.155
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/esm2020/src/app/core/form/entity/editor.class.mjs +3 -2
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +3 -3
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +4 -3
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +4 -3
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -22144,9 +22144,9 @@ class InMemoryEntitiesService extends StartableObservableService {
|
|
|
22144
22144
|
else {
|
|
22145
22145
|
excludedDataByPagination = (size > 0 && ((offset + size) < data.length))
|
|
22146
22146
|
// Slice using limit to size
|
|
22147
|
-
? data.slice(0, offset
|
|
22147
|
+
? data.slice(0, offset).concat(data.slice(offset + size))
|
|
22148
22148
|
// Slice without limit
|
|
22149
|
-
: data.slice(0, offset
|
|
22149
|
+
: data.slice(0, offset);
|
|
22150
22150
|
data = (size > 0 && ((offset + size) < data.length))
|
|
22151
22151
|
// Slice using limit to size
|
|
22152
22152
|
? data.slice(offset, offset + size)
|
|
@@ -30381,7 +30381,8 @@ class AppEditor {
|
|
|
30381
30381
|
}
|
|
30382
30382
|
}
|
|
30383
30383
|
setError(value, opts) {
|
|
30384
|
-
|
|
30384
|
+
// Compare using '!=' to detect null and undefined as same value
|
|
30385
|
+
if (this.errorSubject.value != value) {
|
|
30385
30386
|
this.errorSubject.next(value);
|
|
30386
30387
|
if (!opts || opts.emitEvent !== false)
|
|
30387
30388
|
this.markForCheck();
|