ywana-core8 0.0.445 → 0.0.446

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": "ywana-core8",
3
- "version": "0.0.445",
3
+ "version": "0.0.446",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -49,7 +49,7 @@ const FieldViewer = (props) => {
49
49
 
50
50
  if (!visible) return null
51
51
  if (optional && !value) return null
52
- console.log('contentviewer>fieldViewer', field, optional === true, !value)
52
+ console.log('contentviewer>fieldViewer', field, optional, !value)
53
53
  switch (type) {
54
54
  case TYPES.STRING:
55
55
  return <Property label={label} value={value} />
@@ -97,12 +97,12 @@ const ArrayViewer = (props) => {
97
97
  </header>
98
98
  <table>
99
99
  <thead>
100
- {columns.map(column => <th>{column}</th>)}
100
+ {columns.map(column => <th key={column}>{column}</th>)}
101
101
  </thead>
102
102
  <tbody>
103
103
  {value.map(v => (
104
104
  <tr>
105
- { Object.keys(item).map(key => <td>{v[key]}</td>) }
105
+ { Object.keys(item).map(key => <td key={v[key]}>{v[key]}</td>) }
106
106
  </tr>
107
107
  ))}
108
108
  </tbody>