Skip to content

Commit

Permalink
Merge pull request #3770 from project-koku/release_prod-stable.4311
Browse files Browse the repository at this point in the history
Deployment commit for prod-stable
  • Loading branch information
dlabrecq committed Apr 9, 2024
2 parents fd02704 + b53d230 commit c5675c0
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 91 deletions.
1 change: 1 addition & 0 deletions fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module.exports = {
* Package can be re-enabled for sharing once chrome starts providing global routing package to all applications
*/
// exclude: ['react-router-dom'],
exclude: ['axios'], // Setting the base URL affects Cost Management APIs in OCM, when navigating between apps
exposes: {
'./RootApp': path.resolve(__dirname, './src/appEntry.tsx'),
},
Expand Down
167 changes: 91 additions & 76 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@redhat-cloud-services/frontend-components": "^4.2.5",
"@redhat-cloud-services/frontend-components-notifications": "^4.1.0",
"@redhat-cloud-services/frontend-components-translations": "^3.2.7",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.9",
"@redhat-cloud-services/frontend-components-utilities": "^4.0.10",
"@redhat-cloud-services/rbac-client": "^1.3.3",
"@reduxjs/toolkit": "^2.2.3",
"@unleash/proxy-client-react": "^4.2.2",
Expand All @@ -71,7 +71,7 @@
"qs": "^6.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.6.4",
"react-intl": "^6.6.5",
"react-redux": "^9.1.0",
"react-router-dom": "^6.22.3",
"redux": "^5.0.1",
Expand All @@ -90,20 +90,20 @@
"@swc/core": "1.3.105",
"@swc/jest": "^0.2.36",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/react": "^14.3.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/qs": "^6.9.14",
"@types/react": "^18.2.74",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.24",
"@types/react-redux": "^7.1.33",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"aphrodite": "^2.4.0",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.57.0",
"eslint-plugin-formatjs": "^4.12.2",
"eslint-plugin-formatjs": "^4.13.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-markdown": "^4.0.1",
Expand Down
17 changes: 9 additions & 8 deletions src/routes/details/components/breakdown/breakdownHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,15 @@ class BreakdownHeader extends React.Component<BreakdownHeaderProps, any> {
<Flex justifyContent={{ default: 'justifyContentSpaceBetween' }} style={styles.perspectiveContainer}>
<FlexItem>
<Flex direction={{ default: 'column' }}>
{description && (
<FlexItem style={styles.description}>
{description}
{clusterInfoComponent && isClusterInfoToggleEnabled ? (
<span style={!description ? styles.clusterInfoContainer : undefined}>{clusterInfoComponent}</span>
) : null}
</FlexItem>
)}
{description ||
(clusterInfoComponent && isClusterInfoToggleEnabled && (
<FlexItem style={styles.description}>
{description}
{clusterInfoComponent && isClusterInfoToggleEnabled ? (
<span style={!description ? styles.clusterInfoContainer : undefined}>{clusterInfoComponent}</span>
) : null}
</FlexItem>
))}
{dataDetailsComponent && isClusterInfoToggleEnabled ? <FlexItem>{dataDetailsComponent}</FlexItem> : null}
{showCostDistribution && (
<FlexItem style={styles.costDistribution}>
Expand Down

0 comments on commit c5675c0

Please sign in to comment.