We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4dfe3 commit 12ba9c0Copy full SHA for 12ba9c0
src/containers/Header/Header.tsx
@@ -51,14 +51,17 @@ function Header({mainPage}: HeaderProps) {
51
52
const breadcrumbItems = React.useMemo(() => {
53
const rawBreadcrumbs: RawBreadcrumbItem[] = [];
54
- const options = pageBreadcrumbsOptions;
+ let options = pageBreadcrumbsOptions;
55
56
if (mainPage) {
57
rawBreadcrumbs.push(mainPage);
58
}
59
60
if (clusterName) {
61
- options.clusterName = clusterName;
+ options = {
62
+ ...options,
63
+ clusterName,
64
+ };
65
66
67
const breadcrumbs = getBreadcrumbs(page, options, rawBreadcrumbs, queryParams);
0 commit comments