Skip to content

Commit

Permalink
Merge pull request #4045 from dlabrecq/currency
Browse files Browse the repository at this point in the history
Provide currency selection to AWS Overview
  • Loading branch information
dlabrecq authored Sep 30, 2024
2 parents 0d97d6c + 4979ec4 commit 1ad53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/overview/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class OverviewBase extends React.Component<OverviewProps, OverviewState> {
return hasData ? <OcpCloudDashboard currency={currency} /> : noData;
} else if (currentInfrastructurePerspective === InfrastructurePerspective.aws) {
const hasData = hasCurrentMonthData(awsProviders) || hasPreviousMonthData(awsProviders);
return hasData ? <AwsDashboard costType={costType} /> : noData;
return hasData ? <AwsDashboard costType={costType} currency={currency} /> : noData;
} else if (currentInfrastructurePerspective === InfrastructurePerspective.awsOcp) {
const hasData =
hasCloudCurrentMonthData(awsProviders, ocpProviders) || hasCloudPreviousMonthData(awsProviders, ocpProviders);
Expand Down

0 comments on commit 1ad53f9

Please sign in to comment.