ydb-embedded-ui 6.9.1 → 6.9.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.
@@ -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) => {
|