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