@lenne.tech/ng-base 14.16.0 → 14.16.2

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.
@@ -1764,6 +1764,8 @@ class ModelTableComponent {
1764
1764
  */
1765
1765
  async init() {
1766
1766
  this.availableFields = [];
1767
+ this.pages = [];
1768
+ this.totalCount = null;
1767
1769
  this.camelModelName = this.kebabToCamelCase(this.modelName);
1768
1770
  // Set query name
1769
1771
  if (!this.config?.queryName) {
@@ -1850,7 +1852,7 @@ class ModelTableComponent {
1850
1852
  while (numbers < this.totalCount) {
1851
1853
  this.pages.push({
1852
1854
  skip: numbers,
1853
- limit: numbers + 25 < this.totalCount ? numbers + 25 : this.totalCount,
1855
+ limit: 25,
1854
1856
  });
1855
1857
  numbers = numbers + 25;
1856
1858
  }