@etsoo/materialui 1.0.69 → 1.0.70

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.
@@ -50,9 +50,9 @@ export const ShowDataComparison = (data, modelTitle, getLabel, equalCheck = true
50
50
  const inputs = (React.createElement(Table, null,
51
51
  React.createElement(TableHead, null,
52
52
  React.createElement(TableRow, null,
53
- React.createElement(TableCell, { width: "18%" }, getLabel('field')),
54
- React.createElement(TableCell, { width: "41%", align: "right" }, getLabel('oldValue')),
55
- React.createElement(TableCell, { width: "41%", align: "right" }, getLabel('newValue')))),
53
+ React.createElement(TableCell, { width: "18%" }, globalApp.get('field')),
54
+ React.createElement(TableCell, { width: "41%", align: "right" }, globalApp.get('oldValue')),
55
+ React.createElement(TableCell, { width: "41%", align: "right" }, globalApp.get('newValue')))),
56
56
  React.createElement(TableBody, null, rows.map((row) => (React.createElement(TableRow, { key: row.field },
57
57
  React.createElement(TableCell, null, getLabel(row.field)),
58
58
  React.createElement(TableCell, { align: "right" }, formatValue(row.oldValue, globalApp)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -71,12 +71,12 @@ export const ShowDataComparison = (
71
71
  <Table>
72
72
  <TableHead>
73
73
  <TableRow>
74
- <TableCell width="18%">{getLabel('field')}</TableCell>
74
+ <TableCell width="18%">{globalApp.get('field')}</TableCell>
75
75
  <TableCell width="41%" align="right">
76
- {getLabel('oldValue')}
76
+ {globalApp.get('oldValue')}
77
77
  </TableCell>
78
78
  <TableCell width="41%" align="right">
79
- {getLabel('newValue')}
79
+ {globalApp.get('newValue')}
80
80
  </TableCell>
81
81
  </TableRow>
82
82
  </TableHead>