@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "4.
|
|
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.
|
|
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.
|
|
86
|
-
"@truedat/df": "4.
|
|
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": "
|
|
106
|
+
"gitHead": "f4d8bc5e536b847c7b562a84bfa70955a93166ea"
|
|
107
107
|
}
|
|
@@ -22,7 +22,7 @@ const DynamicFormViewer = React.lazy(() =>
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
export const RemediationPlan = ({
|
|
25
|
-
|
|
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 :
|
|
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
|
-
|
|
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
|
|