@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
|
@@ -22507,9 +22507,9 @@ class InMemoryEntitiesService extends StartableObservableService {
|
|
|
22507
22507
|
else {
|
|
22508
22508
|
excludedDataByPagination = (size > 0 && ((offset + size) < data.length))
|
|
22509
22509
|
// Slice using limit to size
|
|
22510
|
-
? data.slice(0, offset
|
|
22510
|
+
? data.slice(0, offset).concat(data.slice(offset + size))
|
|
22511
22511
|
// Slice without limit
|
|
22512
|
-
: data.slice(0, offset
|
|
22512
|
+
: data.slice(0, offset);
|
|
22513
22513
|
data = (size > 0 && ((offset + size) < data.length))
|
|
22514
22514
|
// Slice using limit to size
|
|
22515
22515
|
? data.slice(offset, offset + size)
|
|
@@ -31011,7 +31011,8 @@ class AppEditor {
|
|
|
31011
31011
|
}
|
|
31012
31012
|
}
|
|
31013
31013
|
setError(value, opts) {
|
|
31014
|
-
|
|
31014
|
+
// Compare using '!=' to detect null and undefined as same value
|
|
31015
|
+
if (this.errorSubject.value != value) {
|
|
31015
31016
|
this.errorSubject.next(value);
|
|
31016
31017
|
if (!opts || opts.emitEvent !== false)
|
|
31017
31018
|
this.markForCheck();
|