@@ -23,7 +23,7 @@ import { providersQuery, providersSelectors } from 'store/providers';
23
23
import { reportActions , reportSelectors } from 'store/reports' ;
24
24
import { uiActions } from 'store/ui' ;
25
25
import { formatPath } from 'utils/paths' ;
26
- import { breakdownDescKey , breakdownTitleKey , platformCategoryKey } from 'utils/props' ;
26
+ import { breadcrumbLabelKey , breakdownDescKey , breakdownTitleKey , platformCategoryKey } from 'utils/props' ;
27
27
import type { RouterComponentProps } from 'utils/router' ;
28
28
import { withRouter } from 'utils/router' ;
29
29
import { getCostDistribution , getCurrency } from 'utils/sessionStorage' ;
@@ -94,9 +94,11 @@ const mapStateToProps = createMapStateToProps<OcpBreakdownOwnProps, BreakdownSta
94
94
providersQueryString
95
95
) ;
96
96
97
+ const breadcrumbLabel = queryFromRoute [ breadcrumbLabelKey ] ? queryFromRoute [ breadcrumbLabelKey ] : undefined ;
97
98
const title = queryFromRoute [ breakdownTitleKey ] ? queryFromRoute [ breakdownTitleKey ] : groupByValue ;
98
99
99
100
return {
101
+ breadcrumbLabel,
100
102
clusterInfoComponent : groupBy === 'cluster' ? < ClusterInfo clusterId = { groupByValue } /> : undefined ,
101
103
dataDetailsComponent : groupBy === 'cluster' ? < DataDetails clusterId = { groupByValue } /> : undefined ,
102
104
costDistribution,
@@ -111,7 +113,6 @@ const mapStateToProps = createMapStateToProps<OcpBreakdownOwnProps, BreakdownSta
111
113
/>
112
114
) ,
113
115
currency,
114
- defaultBreadcrumbPath : formatPath ( routes . ocpDetails . path ) ,
115
116
description : queryFromRoute [ breakdownDescKey ] ,
116
117
detailsURL,
117
118
emptyStateTitle : intl . formatMessage ( messages . ocpDetailsTitle ) ,
0 commit comments