@truedat/dd 4.38.3 → 4.38.7

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.38.6] 2022-02-21
4
+
5
+ ### Fixed
6
+
7
+ - [TD-4559] Error in grant request approval view if user is missing
8
+
3
9
  ## [4.37.4] 2022-02-04
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.38.3",
3
+ "version": "4.38.7",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.14.1",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.38.3",
37
+ "@truedat/test": "4.38.7",
38
38
  "babel-jest": "^27.0.6",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -84,9 +84,9 @@
84
84
  ]
85
85
  },
86
86
  "dependencies": {
87
- "@truedat/auth": "4.38.3",
88
- "@truedat/core": "4.38.3",
89
- "@truedat/df": "4.38.3",
87
+ "@truedat/auth": "4.38.7",
88
+ "@truedat/core": "4.38.7",
89
+ "@truedat/df": "4.38.7",
90
90
  "lodash": "^4.17.21",
91
91
  "path-to-regexp": "^1.7.0",
92
92
  "prop-types": "^15.7.2",
@@ -107,5 +107,5 @@
107
107
  "react-dom": ">= 16.8.6 < 17",
108
108
  "semantic-ui-react": ">= 0.88.2 < 2.1"
109
109
  },
110
- "gitHead": "0ad3a7fe5d8d09b9c5e6e7007d8298748f6677fe"
110
+ "gitHead": "840c799ecdd6b8440112ac803119482e688142ed"
111
111
  }
@@ -7,13 +7,13 @@ import PropTypes from "prop-types";
7
7
  import Moment from "react-moment";
8
8
 
9
9
  export const UserDecorator = ({ user }) =>
10
- user && (
10
+ user ? (
11
11
  <Header as="h4">
12
12
  <Header.Content>
13
13
  {user.full_name} <Header.Subheader>{user.email}</Header.Subheader>
14
14
  </Header.Content>
15
15
  </Header>
16
- );
16
+ ) : null;
17
17
 
18
18
  UserDecorator.propTypes = {
19
19
  user: PropTypes.object,