@truedat/dd 5.2.3 → 5.2.4

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
+ ## [5.2.4] 2023-02-24
4
+
5
+ ### Fixed
6
+
7
+ - [TD-3541] Error showing versions in StructureCrumbs
8
+
3
9
  ## [5.2.3] 2023-02-23
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "description": "Truedat Web Data Dictionary",
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": "5.2.3",
37
+ "@truedat/test": "5.2.4",
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,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "5.2.3",
91
- "@truedat/core": "5.2.3",
92
- "@truedat/df": "5.2.3",
90
+ "@truedat/auth": "5.2.4",
91
+ "@truedat/core": "5.2.4",
92
+ "@truedat/df": "5.2.4",
93
93
  "lodash": "^4.17.21",
94
94
  "moment": "^2.29.4",
95
95
  "path-to-regexp": "^1.7.0",
@@ -114,5 +114,5 @@
114
114
  "react-dom": ">= 16.8.6 < 17",
115
115
  "semantic-ui-react": ">= 2.0.3 < 2.2"
116
116
  },
117
- "gitHead": "fecedbbb623fc091ced1eebf41bdcea30f2800fa"
117
+ "gitHead": "30945576a3812f88a70b30553caec79bb8957d5c"
118
118
  }
@@ -102,7 +102,12 @@ export const StructureCrumbs = ({
102
102
  version={version}
103
103
  isStructureCrumbActive={isStructureCrumbActive}
104
104
  />
105
- {_.isNil(version) ? null : <VersionCrumb id={id} version={version} />}
105
+ {_.isNil(version) || version === "latest" ? null : (
106
+ <>
107
+ {" "}
108
+ <VersionCrumb id={id} version={version} />
109
+ </>
110
+ )}
106
111
  </Breadcrumb>
107
112
  ) : null;
108
113
 
@@ -72,6 +72,7 @@ exports[`<StructureCrumbs /> matches the latest snapshot (system, ancestry, stru
72
72
  name="structure a"
73
73
  version="32"
74
74
  />
75
+
75
76
  <VersionCrumb
76
77
  id={123}
77
78
  version="32"
@@ -101,6 +102,7 @@ exports[`<StructureCrumbs /> matches the latest snapshot (system. ancestry, stru
101
102
  name="structure a"
102
103
  version="32"
103
104
  />
105
+
104
106
  <VersionCrumb
105
107
  id={123}
106
108
  version="32"