@truedat/dq 4.40.12 → 4.41.0

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.13] 2022-03-21
4
+
5
+ ### Fixed
6
+
7
+ - [TD-3233] Template loading on remediation plan
8
+
3
9
  ## [4.40.11] 2022-03-21
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.40.12",
3
+ "version": "4.41.0",
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.12",
34
+ "@truedat/test": "4.41.0",
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.12",
86
- "@truedat/df": "4.40.12",
85
+ "@truedat/core": "4.41.0",
86
+ "@truedat/df": "4.41.0",
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": "f8f89f659e97ba1eeb39d9f86c9b8c2c8934518a"
106
+ "gitHead": "f4d8bc5e536b847c7b562a84bfa70955a93166ea"
107
107
  }
@@ -22,7 +22,7 @@ const DynamicFormViewer = React.lazy(() =>
22
22
  );
23
23
 
24
24
  export const RemediationPlan = ({
25
- remediationLoading,
25
+ isLoading,
26
26
  className,
27
27
  deleteRemediation,
28
28
  fetchRemediation,
@@ -59,7 +59,7 @@ export const RemediationPlan = ({
59
59
  setIsEdit(false);
60
60
  };
61
61
 
62
- return !ruleResultId ? null : remediationLoading ? (
62
+ return !ruleResultId ? null : isLoading ? (
63
63
  <Loading />
64
64
  ) : _.isEmpty(remediation) && manageRemediations ? (
65
65
  <NewRemediation
@@ -138,7 +138,7 @@ export const RemediationPlan = ({
138
138
  };
139
139
 
140
140
  RemediationPlan.propTypes = {
141
- remediationLoading: PropTypes.bool,
141
+ isLoading: PropTypes.bool,
142
142
  className: PropTypes.string,
143
143
  deleteRemediation: PropTypes.func,
144
144
  clearRemediation: PropTypes.func,
@@ -154,10 +154,11 @@ const mapStateToProps = ({
154
154
  remediation,
155
155
  remediationLoading,
156
156
  remediationActions,
157
+ templatesLoading,
157
158
  }) => ({
158
159
  templates,
159
160
  remediation,
160
- remediationLoading,
161
+ isLoading: remediationLoading || templatesLoading,
161
162
  manageRemediations: _.has("create")(remediationActions),
162
163
  });
163
164