@truedat/dq 4.59.4 → 4.59.6

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
+ ## [4.59.5] 2023-01-12
4
+
5
+ ### Fixed
6
+
7
+ - [TD-5436] Redirect to implementation view when create implementation instead
8
+ of implementations table
9
+
3
10
  ## [4.59.4] 2023-01-12
4
11
 
5
12
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.59.4",
3
+ "version": "4.59.6",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -92,8 +92,8 @@
92
92
  },
93
93
  "dependencies": {
94
94
  "@apollo/client": "^3.7.1",
95
- "@truedat/core": "4.59.4",
96
- "@truedat/df": "4.59.4",
95
+ "@truedat/core": "4.59.6",
96
+ "@truedat/df": "4.59.6",
97
97
  "decode-uri-component": "^0.2.2",
98
98
  "graphql": "^15.5.3",
99
99
  "moment": "^2.29.4",
@@ -118,5 +118,5 @@
118
118
  "react-dom": ">= 16.8.6 < 17",
119
119
  "semantic-ui-react": ">= 2.0.3 < 2.2"
120
120
  },
121
- "gitHead": "2d4c472974cff58b18bd915b219bed75f75e6e37"
121
+ "gitHead": "b50a4a3640b53ebf1289b7d46f311c643c508c23"
122
122
  }
@@ -32,7 +32,7 @@ describe("reducers: ruleImplementationRedirect", () => {
32
32
  });
33
33
 
34
34
  it("should return a link to ruleImplementations after createRuleImplementation.SUCCESS action", () => {
35
- const payload = { data: { id: 1 } };
35
+ const payload = { data: { data: { id: 1 } } };
36
36
 
37
37
  expect(
38
38
  ruleImplementationRedirect(fooState, {
@@ -25,7 +25,7 @@ export const ruleImplementationRedirect = (
25
25
  case clearRedirect.TRIGGER:
26
26
  return initialState;
27
27
  case createRuleImplementation.SUCCESS: {
28
- const id = payload?.data?.id;
28
+ const id = payload?.data?.data?.id;
29
29
  return payload?.redirectUrl
30
30
  ? payload.redirectUrl
31
31
  : id