@sumaris-net/ngx-components 1.23.48 → 1.23.50

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.
@@ -21126,8 +21126,6 @@
21126
21126
  return __generator(this, function (_c) {
21127
21127
  if (this.debug)
21128
21128
  console.debug('[memory-data-service] Stopping...');
21129
- this.dataSubject.complete();
21130
- this.dataSubject.unsubscribe();
21131
21129
  this._hiddenData = null;
21132
21130
  this.markAsSaved();
21133
21131
  this.markAsPristine();
@@ -21279,10 +21277,10 @@
21279
21277
  offset = offset >= 0 ? offset : 0;
21280
21278
  size = size >= 0 ? size : -1;
21281
21279
  return this.dataSubject
21282
- .pipe(operators.takeUntil(this.stopSubject),
21280
+ .pipe(
21283
21281
  // Warn if waiting value to be set
21284
- operators.tap(function (data) { return _this.debug && !data && console.debug('[memory-data-service] Waiting value to be set...'); }), operators.filter(isNotNil), operators.mergeMap(function (_) { return _this.loadAll(offset, size, sortBy, sortDirection, filterData, options); }), operators.filter(isNotNil) // Skip no result (e.g. when stopped)
21285
- );
21282
+ operators.tap(function (data) { return _this.debug && !data && console.debug('[memory-data-service] Waiting value to be set...'); }), operators.filter(isNotNil), operators.mergeMap(function (_) { return _this.loadAll(offset, size, sortBy, sortDirection, filterData, options); }), operators.filter(isNotNil), // Skip no result (e.g. when stopped)
21283
+ operators.takeUntil(this.stopSubject));
21286
21284
  };
21287
21285
  InMemoryEntitiesService.prototype.saveAll = function (data, options) {
21288
21286
  return __awaiter(this, void 0, void 0, function () {