@truedat/dd 4.59.2 → 4.59.4

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.59.3] 2023-01-12
4
+
5
+ ### Fixed
6
+
7
+ - [TD-5382] Show all pending roles on grant request summary
8
+
3
9
  ## [4.59.2] 2023-01-11
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.59.2",
3
+ "version": "4.59.4",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -87,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "4.59.2",
91
- "@truedat/core": "4.59.2",
92
- "@truedat/df": "4.59.2",
90
+ "@truedat/auth": "4.59.4",
91
+ "@truedat/core": "4.59.4",
92
+ "@truedat/df": "4.59.4",
93
93
  "lodash": "^4.17.21",
94
94
  "moment": "^2.29.4",
95
95
  "path-to-regexp": "^1.7.0",
@@ -114,5 +114,5 @@
114
114
  "react-dom": ">= 16.8.6 < 17",
115
115
  "semantic-ui-react": ">= 2.0.3 < 2.2"
116
116
  },
117
- "gitHead": "ca377bf89e219c1687f27386cb59cd9049551964"
117
+ "gitHead": "2d4c472974cff58b18bd915b219bed75f75e6e37"
118
118
  }
@@ -87,13 +87,13 @@ export const GrantRequestSummary = ({ grantRequest }) => {
87
87
  ))}
88
88
  </List>
89
89
 
90
- {grantRequest?.pending_roles?.length > 0 && (
90
+ {grantRequest?.all_pending_roles?.length > 0 && (
91
91
  <>
92
92
  <Header as="h3" dividing>
93
93
  {formatMessage({ id: "grantRequest.summary.pendingRoles" })}
94
94
  </Header>
95
95
 
96
- {grantRequest.pending_roles.map((role, i) => (
96
+ {grantRequest.all_pending_roles.map((role, i) => (
97
97
  <Label key={i}>{role}</Label>
98
98
  ))}
99
99
  </>
@@ -46,7 +46,7 @@ const StructureImplementationsLoader = () => {
46
46
  return (
47
47
  <RuleImplementationsLoader
48
48
  pageSize={1000}
49
- defaultFilters={{ structure_ids: [id] }}
49
+ defaultFilters={{ structure_ids: [id], status: ["published"] }}
50
50
  />
51
51
  );
52
52
  };
@@ -4,7 +4,7 @@ import { GrantRequestSummary } from "../GrantRequestSummary";
4
4
 
5
5
  describe("<GrantRequestSummary />", () => {
6
6
  const grantRequest = {
7
- pending_roles: ["pending role"],
7
+ all_pending_roles: ["pending role"],
8
8
  _embedded: {
9
9
  approvals: [
10
10
  {