@dracul/audit-frontend 1.35.3 → 1.35.4

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": "@dracul/audit-frontend",
3
- "version": "1.35.3",
3
+ "version": "1.35.4",
4
4
  "description": "Audit frontend",
5
5
  "author": "Cristian Incarnato <cristian.cdi@gmail.com>",
6
6
  "publishConfig": {
@@ -38,5 +38,5 @@
38
38
  "type": "git",
39
39
  "url": "git+https://github.com/draculjs/modular-framework.git"
40
40
  },
41
- "gitHead": "d55ebfdfdaab950fc7bae85a0710539c3093ff72"
41
+ "gitHead": "e1efb726822b8011ead5ff2701c20e5e35c76182"
42
42
  }
@@ -214,7 +214,7 @@ export default {
214
214
  this.getOrderDesc
215
215
  ).then(r => {
216
216
  console.log('paginate audit', r)
217
- // r.data.paginateAudit.items.forEach((item) => item.changes = 1)
217
+ r.data.paginateAudit.items.forEach((item) => item.changes.length == 0 ? item.changes.length = 1 : null)
218
218
  this.items = r.data.paginateAudit.items
219
219
  this.totalItems = r.data.paginateAudit.totalItems
220
220
  }).catch(err => {