@processmaker/screen-builder 2.83.8 → 2.83.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.83.8",
3
+ "version": "2.83.10",
4
4
  "scripts": {
5
5
  "dev": "VITE_COVERAGE=true vite",
6
6
  "build": "vite build",
@@ -139,7 +139,7 @@ export default {
139
139
  record.status = this.formatStatus(record.status);
140
140
  }
141
141
  this.tableData = response.data;
142
- this.countResponse = Object.keys(this.tableData.data).length;
142
+ this.countResponse = this.tableData.meta.total;
143
143
  const dataControls = {
144
144
  count: `${this.countResponse}`,
145
145
  showControl: true,
@@ -152,7 +152,7 @@ export default {
152
152
  .then((response) => {
153
153
  this.showTable = response.data.data.length !== 0;
154
154
  this.tableData = response.data;
155
- this.countResponse = Object.keys(this.tableData.data).length;
155
+ this.countResponse = this.tableData.meta.total;
156
156
  this.countOverdue = `${this.tableData.meta.in_overdue}`;
157
157
  tasksDropdown.push(this.countOverdue);
158
158
  this.countInProgress = `${this.tableData.meta.total}`;