@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.
@@ -45207,7 +45207,7 @@ const rf = ZK.exports, XK = ds(), eJ = {
45207
45207
  ProcessMaker.apiClient.get(
45208
45208
  `tasks?page=${this.page}&include=process,processRequest,processRequest.user,user,data&pmql=${encodeURIComponent(t)}&per_page=${this.perPage}${a}${this.getSortParam()}&non_system=true&${e}`
45209
45209
  ).then((n) => {
45210
- this.showTable = n.data.data.length !== 0, this.tableData = n.data, this.countResponse = Object.keys(this.tableData.data).length, this.countOverdue = `${this.tableData.meta.in_overdue}`, i.push(this.countOverdue), this.countInProgress = `${this.tableData.meta.total}`, i.push(this.countInProgress);
45210
+ this.showTable = n.data.data.length !== 0, this.tableData = n.data, this.countResponse = this.tableData.meta.total, this.countOverdue = `${this.tableData.meta.in_overdue}`, i.push(this.countOverdue), this.countInProgress = `${this.tableData.meta.total}`, i.push(this.countInProgress);
45211
45211
  const s = {
45212
45212
  count: `${this.countResponse}`,
45213
45213
  showControl: !0,
@@ -45379,7 +45379,7 @@ const AS = aJ.exports, iJ = ds(), nJ = {
45379
45379
  this.showTable = r.data.data.length !== 0;
45380
45380
  for (const n of r.data.data)
45381
45381
  n.status = this.formatStatus(n.status);
45382
- this.tableData = r.data, this.countResponse = Object.keys(this.tableData.data).length;
45382
+ this.tableData = r.data, this.countResponse = this.tableData.meta.total;
45383
45383
  const a = {
45384
45384
  count: `${this.countResponse}`,
45385
45385
  showControl: !0,