@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.
@@ -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 - 1).concat(data.slice(offset + size))
22147
+ ? data.slice(0, offset).concat(data.slice(offset + size))
22148
22148
  // Slice without limit
22149
- : data.slice(0, offset - 1);
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
- if (this.errorSubject.value !== value) {
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();