@truedat/bg 7.3.0 → 7.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/bg",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"description": "Truedat Web Business Glossary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "7.3.
|
|
37
|
+
"@truedat/test": "7.3.2",
|
|
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",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@truedat/core": "7.3.
|
|
90
|
-
"@truedat/df": "7.3.
|
|
91
|
-
"@truedat/lm": "7.3.
|
|
89
|
+
"@truedat/core": "7.3.2",
|
|
90
|
+
"@truedat/df": "7.3.2",
|
|
91
|
+
"@truedat/lm": "7.3.2",
|
|
92
92
|
"decode-uri-component": "^0.2.2",
|
|
93
93
|
"file-saver": "^2.0.5",
|
|
94
94
|
"moment": "^2.29.4",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-dom": ">= 16.8.6 < 17",
|
|
112
112
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "3a5d8fc5160ffabc1ef86251883070331045f738"
|
|
115
115
|
}
|
|
@@ -48,7 +48,6 @@ const ConceptForm = ({
|
|
|
48
48
|
isMultilingual,
|
|
49
49
|
setAltLang,
|
|
50
50
|
} = useLanguage();
|
|
51
|
-
console.log("useLanguage", defaultLang);
|
|
52
51
|
const [domains, setDomains] = useState();
|
|
53
52
|
const [domainsLoading, setDomainsLoading] = useState(true);
|
|
54
53
|
const [hasSuggestions, setHasSuggestions] = useState(false);
|
|
@@ -79,7 +79,6 @@ export function ConceptSelectorContent({
|
|
|
79
79
|
links,
|
|
80
80
|
}) {
|
|
81
81
|
const { searchData } = useSearchContext();
|
|
82
|
-
|
|
83
82
|
const concepts = searchData?.data;
|
|
84
83
|
|
|
85
84
|
const selectedConceptIsFiltered = !_.reduce(
|
|
@@ -164,6 +163,9 @@ ConceptSelectorContent.propTypes = {
|
|
|
164
163
|
export const ConceptSelector = (props) => {
|
|
165
164
|
const defaultFilters = _.propOr({}, "defaultFilters")(props);
|
|
166
165
|
const filtersGroup = _.propOr([], "filtersGroup")(props);
|
|
166
|
+
const enrichSearchPayload = {
|
|
167
|
+
include_links: true,
|
|
168
|
+
};
|
|
167
169
|
|
|
168
170
|
const searchProps = {
|
|
169
171
|
initialSortColumn: "name.raw",
|
|
@@ -175,6 +177,7 @@ export const ConceptSelector = (props) => {
|
|
|
175
177
|
omitFilters: ["current", "domain_ids"],
|
|
176
178
|
translations,
|
|
177
179
|
filtersGroup,
|
|
180
|
+
enrichSearchPayload,
|
|
178
181
|
};
|
|
179
182
|
return (
|
|
180
183
|
<SearchContextProvider {...searchProps} defaultFilters={defaultFilters}>
|