ydb-embedded-ui 6.9.1 → 6.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,12 +29,15 @@ function Header({ mainPage }) {
29
29
  const clusterName = get(clusterInfo, ['currentData', 'clusterData', 'Name'], queryParams.clusterName);
30
30
  const breadcrumbItems = React.useMemo(() => {
31
31
  const rawBreadcrumbs = [];
32
- const options = pageBreadcrumbsOptions;
32
+ let options = pageBreadcrumbsOptions;
33
33
  if (mainPage) {
34
34
  rawBreadcrumbs.push(mainPage);
35
35
  }
36
36
  if (clusterName) {
37
- options.clusterName = clusterName;
37
+ options = {
38
+ ...options,
39
+ clusterName,
40
+ };
38
41
  }
39
42
  const breadcrumbs = getBreadcrumbs(page, options, rawBreadcrumbs, queryParams);
40
43
  return breadcrumbs.map((item) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.9.1",
3
+ "version": "6.9.2",
4
4
  "files": [
5
5
  "dist"
6
6
  ],