Skip to content

Commit

Permalink
Provide currency selection to AWS Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed Sep 30, 2024
1 parent 02bc540 commit 4979ec4
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 4979ec4

Please sign in to comment.