Skip to content

Commit

Permalink
only display with data
Browse files Browse the repository at this point in the history
  • Loading branch information
jusrhee committed May 9, 2024
1 parent 63e8386 commit abf9666
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dashboard/src/main/home/project-settings/UsagePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,10 @@ function UsagePage(): JSX.Element {
prefix={<>Billing period</>}
/>
<Spacer y={1} />
{true ||
(processedCosts &&
processedCosts.length > 0 &&
processedUsage &&
processedUsage.length > 0) ? (
{processedCosts &&
processedCosts.length > 0 &&
processedUsage &&
processedUsage.length > 0 ? (
<>
<Text color="helper">Total usage (selected period):</Text>
<Spacer y={0.5} />
Expand Down

0 comments on commit abf9666

Please sign in to comment.