@truedat/dq 4.43.1 → 4.43.2

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.43.2] 2022-05-03
4
+
5
+ ### Fixed
6
+
7
+ - [TD-4709] `DatasetForm` wasn't behaving correctly on implementations with
8
+ no dataset
9
+
3
10
  ## [4.43.1] 2022-04-28
4
11
 
5
12
  # Added
@@ -14,13 +21,13 @@
14
21
 
15
22
  ## [4.42.3] 2022-04-13
16
23
 
17
- # Fixed
24
+ ### Fixed
18
25
 
19
26
  - [TD-4721] Remove sources error condition in NewRuleImplementation
20
27
 
21
28
  ## [4.42.1] 2022-04-12
22
29
 
23
- # Changed
30
+ ### Changed
24
31
 
25
32
  - [TD-4536] Support rule implementation with multiple populations
26
33
 
@@ -935,7 +942,7 @@ New major version for Truedat 4.0, no changes
935
942
 
936
943
  - [TD-1802] Added individual saga to retrieve filter values
937
944
 
938
- ## [2.19.0]
945
+ ## [2.19.0] 2019-05-16
939
946
 
940
947
  ### Added
941
948
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.43.1",
3
+ "version": "4.43.2",
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.43.1",
34
+ "@truedat/test": "4.43.2",
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.43.1",
86
- "@truedat/df": "4.43.1",
85
+ "@truedat/core": "4.43.2",
86
+ "@truedat/df": "4.43.2",
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": "7ea6f37972e3a70706913ada33751b955313801f"
106
+ "gitHead": "26f59c4d36ab1ecfae705bbce4320ff443cce304"
107
107
  }
@@ -127,8 +127,11 @@ DatasetForm.propTypes = {
127
127
  setSelector: PropTypes.func,
128
128
  };
129
129
 
130
- const mapStateToProps = (state) => ({
130
+ const EMPTY_DATASET = [{}];
131
+
132
+ const mapStateToProps = (state, { structures }) => ({
131
133
  defaultFilters: datasetDefaultFiltersSelector(state),
134
+ structures: _.isEmpty(structures) ? EMPTY_DATASET : structures,
132
135
  });
133
136
 
134
137
  export default connect(mapStateToProps)(DatasetForm);
@@ -1,5 +1,4 @@
1
1
  import React, { Suspense } from "react";
2
- import { waitFor } from "@testing-library/react";
3
2
  import { render } from "@truedat/test/render";
4
3
  import DatasetForm from "../DatasetForm";
5
4