@truedat/bg 4.46.10 → 4.46.11

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.46.11] 2022-06-20
4
+
5
+ ### Fixed
6
+
7
+ - [TD-4720] The button to create concepts does not appear
8
+
3
9
  ## [4.46.10] 2022-06-20
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/bg",
3
- "version": "4.46.10",
3
+ "version": "4.46.11",
4
4
  "description": "Truedat Web Business Glossary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -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": "2bfaf01b4ff0cbd9166456e0cfff7028015d220f"
110
+ "gitHead": "b12ba8595f57dc897ae1d4ed354578a7e23e49aa"
111
111
  }
@@ -20,7 +20,6 @@ const staticLabels = [
20
20
  ];
21
21
 
22
22
  export const ConceptsActions = ({
23
- create,
24
23
  createUrl,
25
24
  conceptsDownloading,
26
25
  downloadConcepts,
@@ -34,7 +33,7 @@ export const ConceptsActions = ({
34
33
  )(staticLabels);
35
34
  return hidden ? null : (
36
35
  <div>
37
- {create && createUrl && (
36
+ {createUrl ? (
38
37
  <Button
39
38
  floated="right"
40
39
  primary
@@ -42,7 +41,7 @@ export const ConceptsActions = ({
42
41
  to={createUrl}
43
42
  content={formatMessage({ id: "concepts.actions.create" })}
44
43
  />
45
- )}
44
+ ) : null}
46
45
  <Button
47
46
  floated="right"
48
47
  secondary
@@ -62,7 +61,6 @@ export const ConceptsActions = ({
62
61
  ConceptsActions.propTypes = {
63
62
  conceptsDownloading: PropTypes.bool,
64
63
  hidden: PropTypes.bool,
65
- create: PropTypes.bool,
66
64
  createUrl: PropTypes.string,
67
65
  downloadConcepts: PropTypes.func,
68
66
  upload: PropTypes.bool,