@sumaris-net/ngx-components 1.23.12 → 1.23.14

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.
@@ -20843,7 +20843,8 @@
20843
20843
  return __generator(this, function (_b) {
20844
20844
  if (this.debug)
20845
20845
  console.debug('[memory-data-service] Starting...');
20846
- return [2 /*return*/, firstNotNilPromise(this.dataSubject, { stop: this.stopSubject })];
20846
+ return [2 /*return*/, firstNotNil(this.dataSubject, { stop: this.stopSubject })
20847
+ .toPromise()];
20847
20848
  });
20848
20849
  });
20849
20850
  };
@@ -27901,7 +27902,7 @@
27901
27902
  setTimeout(function () { return !_this.table && console.warn("[table] Missing <mat-table> in the HTML template (after waiting 500ms)! Component: " + _this.constructor.name); }, 500);
27902
27903
  }
27903
27904
  // Make sure to wait the table
27904
- return [4 /*yield*/, waitFor(function () { return !!_this.table; }, { stop: this.destroySubject })];
27905
+ return [4 /*yield*/, waitFor(function () { return !!_this.table; }, { stop: this.destroySubject, stopError: false /*avoid error when destorying the table*/ })];
27905
27906
  case 1:
27906
27907
  // Make sure to wait the table
27907
27908
  _e.sent();