@dracul/audit-frontend 1.35.9 → 1.35.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": "@dracul/audit-frontend",
3
- "version": "1.35.9",
3
+ "version": "1.35.10",
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": "6dcc8ee328f065deb431834da3142fdbec432ccd"
41
+ "gitHead": "e60e625a659eaedb5c1089c968d3090dd22678ca"
42
42
  }
@@ -172,7 +172,7 @@ const i18nMessages = {
172
172
  read: 'Se ha visualizado el recurso "{resourceID}"',
173
173
  update: 'Se ha modificado el recurso "{resourceID}"',
174
174
  delete: 'Se ha eliminado el recurso "{resourceID}"',
175
- restart: 'Se ha reiniciado el recurso "{resourceID}',
175
+ restart: 'Se ha reiniciado el recurso "{resourceID}"',
176
176
  },
177
177
 
178
178
  changes: {
@@ -280,7 +280,7 @@ export default {
280
280
  return actionColors[action]
281
281
  },
282
282
  getDetailsText(item){
283
- return item.resourceData.Spec.Name ? item.resourceData.Spec.Name : item.details
283
+ return item.resourceData?.Spec?.Name || item.details
284
284
  },
285
285
  performSearch() {
286
286
  this.pageNumber = 1