@truedat/ie 4.46.9 → 4.46.10
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/ie",
|
|
3
|
-
"version": "4.46.
|
|
3
|
+
"version": "4.46.10",
|
|
4
4
|
"description": "Truedat Web Ingests",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.46.
|
|
37
|
+
"@truedat/test": "4.46.10",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@truedat/core": "4.46.
|
|
91
|
-
"@truedat/df": "4.46.
|
|
90
|
+
"@truedat/core": "4.46.10",
|
|
91
|
+
"@truedat/df": "4.46.10",
|
|
92
92
|
"file-saver": "^2.0.5",
|
|
93
93
|
"moment": "^2.24.0",
|
|
94
94
|
"path-to-regexp": "^1.7.0",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"react-dom": ">= 16.8.6 < 17",
|
|
108
108
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "2bfaf01b4ff0cbd9166456e0cfff7028015d220f"
|
|
111
111
|
}
|
|
@@ -18,13 +18,15 @@ export const IngestHeader = ({ ingest, domain, template }) => (
|
|
|
18
18
|
IngestHeader.propTypes = {
|
|
19
19
|
ingest: PropTypes.object,
|
|
20
20
|
domain: PropTypes.object,
|
|
21
|
-
template: PropTypes.object
|
|
21
|
+
template: PropTypes.object,
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
+
const EMPTY = {};
|
|
25
|
+
|
|
24
26
|
const mapStateToProps = ({ ingest }) => ({
|
|
25
27
|
ingest,
|
|
26
|
-
domain: ingest.domain ||
|
|
27
|
-
template: ingest.template ||
|
|
28
|
+
domain: ingest.domain || EMPTY,
|
|
29
|
+
template: ingest.template || EMPTY,
|
|
28
30
|
});
|
|
29
31
|
|
|
30
32
|
export default connect(mapStateToProps)(IngestHeader);
|
|
@@ -58,9 +58,7 @@ export class IngestLoader extends React.Component {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
const mapStateToProps = ({ ingestLoading }) => ({
|
|
62
|
-
ingestLoading,
|
|
63
|
-
});
|
|
61
|
+
const mapStateToProps = ({ ingestLoading }) => ({ ingestLoading });
|
|
64
62
|
|
|
65
63
|
export default compose(
|
|
66
64
|
withRouter,
|
|
@@ -290,7 +290,7 @@ IngestRoutes.propTypes = {
|
|
|
290
290
|
|
|
291
291
|
const mapStateToProps = ({ ingest, templatesLoading, templates }) => ({
|
|
292
292
|
ingestLoaded: !_.isEmpty(ingest),
|
|
293
|
-
ingest_id:
|
|
293
|
+
ingest_id: ingest?.ingest_id,
|
|
294
294
|
templatesLoaded: !templatesLoading && !_.isEmpty(templates),
|
|
295
295
|
});
|
|
296
296
|
|