@corpsmap/corpsmap 3.2.41 → 3.2.44

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": "@corpsmap/corpsmap",
3
- "version": "3.2.41",
3
+ "version": "3.2.44",
4
4
  "description": "CorpsMap as React Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -37,14 +37,16 @@ class ChangeLogModal extends React.Component {
37
37
  const { theme, doGetChangeLogData, changeLogItems } = this.props;
38
38
  const loginDataWk = changeLogItems;
39
39
  const arrayDataItems = loginDataWk.map( data =>
40
+
40
41
  <li style={Object.keys(data).length > 0 ? {listStyleType: "disc"}: {listStyleType: "none"} }>
41
- {data.change_date ? <li><b>{this.formatDate(data.change_date)}</b></li> : null}
42
- {data.environment ? <li style={{listStyleType: "none"}}><b>Environment:</b> {data.environment} </li> : null}
43
- {data.change_type ? <li style={{listStyleType: "none"}}><b>Change Type:</b> {data.change_type}</li> : null}
44
- {data.district_code ? <li style={{listStyleType: "none"}}><b>District:</b> {data.district_code}</li> : null}
45
- {data.description ? <li style={{listStyleType: "none"}}><b>Description:</b> {data.description}</li> : null}
42
+ {data.change_date ? <li key={data.change_date}><b>{this.formatDate(data.change_date)}</b></li> : null}
43
+ {data.environment ? <li key={data.environment} style={{listStyleType: "none"}}><b>Environment:</b> {data.environment} </li> : null}
44
+ {data.change_type ? <li key={data.change_date} style={{listStyleType: "none"}}><b>Change Type:</b> {data.change_type}</li> : null}
45
+ {data.district_code ? <li key={data.district_code} style={{listStyleType: "none"}}><b>District:</b> {data.district_code}</li> : null}
46
+ {data.description ? <li key={data.description} style={{listStyleType: "none"}}><b>Description:</b> {data.description}</li> : null}
46
47
  <br></br>
47
48
  </li>
49
+
48
50
  )
49
51
 
50
52
  return (