@truedat/profile 5.4.0 → 5.4.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.4.2] 2023-03-27
4
+
5
+ ## Fixed
6
+
7
+ - [TD-5644] Some data is not displayed in structures with dataStructureVersion
8
+ v2 endpoint
9
+
3
10
  ## [4.54.5] 2022-10-25
4
11
 
5
12
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/profile",
3
- "version": "5.4.0",
3
+ "version": "5.4.2",
4
4
  "description": "Truedat Web Custom",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -86,9 +86,9 @@
86
86
  ]
87
87
  },
88
88
  "dependencies": {
89
- "@truedat/auth": "5.4.0",
90
- "@truedat/core": "5.4.0",
91
- "@truedat/df": "5.4.0",
89
+ "@truedat/auth": "5.4.2",
90
+ "@truedat/core": "5.4.2",
91
+ "@truedat/df": "5.4.2",
92
92
  "lodash": "^4.17.21",
93
93
  "path-to-regexp": "^1.7.0",
94
94
  "prop-types": "^15.8.1",
@@ -107,5 +107,5 @@
107
107
  "react-dom": ">= 16.8.6 < 17",
108
108
  "semantic-ui-react": ">= 2.0.3 < 2.2"
109
109
  },
110
- "gitHead": "e8b1b4b4323f098ac213ecbd53fe6a005254a672"
110
+ "gitHead": "09ddfaaacecfd66661249fe1f2009794cc5e4362"
111
111
  }
@@ -105,9 +105,11 @@ export const StructureProfiling = ({ fields }) => {
105
105
  </Table.Row>
106
106
  </Table.Header>
107
107
  <Table.Body>
108
- {fields.map((field, i) => (
109
- <FieldProfileRow key={i} {...field} />
110
- ))}
108
+ {fields
109
+ .filter(({ profile }) => profile !== null)
110
+ .map((field, i) => (
111
+ <FieldProfileRow key={i} {...field} />
112
+ ))}
111
113
  </Table.Body>
112
114
  </Table>
113
115
  );