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
|
-
|
32
|
+
let options = pageBreadcrumbsOptions;
|
33
33
|
if (mainPage) {
|
34
34
|
rawBreadcrumbs.push(mainPage);
|
35
35
|
}
|
36
36
|
if (clusterName) {
|
37
|
-
options
|
37
|
+
options = {
|
38
|
+
...options,
|
39
|
+
clusterName,
|
40
|
+
};
|
38
41
|
}
|
39
42
|
const breadcrumbs = getBreadcrumbs(page, options, rawBreadcrumbs, queryParams);
|
40
43
|
return breadcrumbs.map((item) => {
|