@truedat/dq 4.40.8 → 4.40.9

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.40.9] 2022-03-20
4
+
5
+ ### Fixed
6
+
7
+ - [TD-3233] Added missing varname
8
+
3
9
  ## [4.40.8] 2022-03-18
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.40.8",
3
+ "version": "4.40.9",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -31,7 +31,7 @@
31
31
  "@babel/plugin-transform-modules-commonjs": "^7.15.0",
32
32
  "@babel/preset-env": "^7.15.0",
33
33
  "@babel/preset-react": "^7.14.5",
34
- "@truedat/test": "4.40.8",
34
+ "@truedat/test": "4.40.9",
35
35
  "babel-jest": "^27.0.6",
36
36
  "babel-plugin-dynamic-import-node": "^2.3.3",
37
37
  "babel-plugin-lodash": "^3.3.4",
@@ -82,8 +82,8 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@apollo/client": "^3.4.10",
85
- "@truedat/core": "4.40.8",
86
- "@truedat/df": "4.40.8",
85
+ "@truedat/core": "4.40.9",
86
+ "@truedat/df": "4.40.9",
87
87
  "axios": "^0.19.2",
88
88
  "graphql": "^15.5.3",
89
89
  "path-to-regexp": "^1.7.0",
@@ -103,5 +103,5 @@
103
103
  "react-dom": ">= 16.8.6 < 17",
104
104
  "semantic-ui-react": ">= 0.88.2 < 2.1"
105
105
  },
106
- "gitHead": "b3570c4151f142384ee7201d05f72ed274f2eeb9"
106
+ "gitHead": "618928c0c77ccea1e95b9a6d3255ecf8cbed0c90"
107
107
  }
@@ -11,6 +11,7 @@ export const NewRemediation = ({
11
11
  manageRemediations,
12
12
  onSaveRemediation,
13
13
  templates,
14
+ latestResultId,
14
15
  }) => {
15
16
  const { formatMessage } = useIntl();
16
17
  const [isEdit, setIsEdit] = useState(false);
@@ -37,7 +38,7 @@ export const NewRemediation = ({
37
38
  </Header.Content>
38
39
  </Header>
39
40
  <Segment>
40
- <RemediationForm onSave={onSave} />
41
+ <RemediationForm onSave={onSave} latestResultId={latestResultId} />
41
42
  </Segment>
42
43
  </>
43
44
  )}
@@ -49,6 +50,7 @@ NewRemediation.propTypes = {
49
50
  onSaveRemediation: PropTypes.func,
50
51
  manageRemediations: PropTypes.bool,
51
52
  templates: PropTypes.array,
53
+ latestResultId: PropTypes.number,
52
54
  };
53
55
 
54
56
  const mapStateToProps = ({ templates, remediationActions }) => ({
@@ -62,7 +62,10 @@ export const RemediationPlan = ({
62
62
  return !ruleResultId ? null : remediationLoading ? (
63
63
  <Loading />
64
64
  ) : _.isEmpty(remediation) && manageRemediations ? (
65
- <NewRemediation onSaveRemediation={onSave} />
65
+ <NewRemediation
66
+ onSaveRemediation={onSave}
67
+ latestResultId={latestResultId}
68
+ />
66
69
  ) : (
67
70
  <>
68
71
  <Header as="h2">