@truedat/profile 8.8.7 → 8.9.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/profile",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.0",
|
|
4
4
|
"description": "Truedat Web Custom",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@testing-library/user-event": "^14.6.1",
|
|
54
|
-
"@truedat/test": "8.
|
|
54
|
+
"@truedat/test": "8.9.0",
|
|
55
55
|
"identity-obj-proxy": "^3.0.0",
|
|
56
56
|
"jest": "^29.7.0",
|
|
57
57
|
"redux-saga-test-plan": "^4.0.6"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"semantic-ui-react": "^3.0.0-beta.2",
|
|
84
84
|
"swr": "^2.3.3"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "beff9d7e01556d63d42e54c9f7b641503ee658b2"
|
|
87
87
|
}
|
|
@@ -132,8 +132,18 @@ const StructureProfileForParent = () => {
|
|
|
132
132
|
const { before, after, q } = queryString.parse(search);
|
|
133
133
|
const [searchQuery, setSearchQuery] = useState(q || "");
|
|
134
134
|
const structureVariables = _.isNil(version)
|
|
135
|
-
? {
|
|
136
|
-
|
|
135
|
+
? {
|
|
136
|
+
dataStructureId,
|
|
137
|
+
version: "latest",
|
|
138
|
+
filters: { hasProfile: true },
|
|
139
|
+
includeProfile: true,
|
|
140
|
+
}
|
|
141
|
+
: {
|
|
142
|
+
dataStructureId,
|
|
143
|
+
version,
|
|
144
|
+
filters: { hasProfile: true },
|
|
145
|
+
includeProfile: true,
|
|
146
|
+
};
|
|
137
147
|
const searchVariables = before
|
|
138
148
|
? { after, before, last: PAGE_SIZE, search: q }
|
|
139
149
|
: { after, before, first: PAGE_SIZE, search: q };
|