Bläddra i källkod

only display with data

jusrhee 2 år sedan
förälder
incheckning
a1362140ae
1 ändrade filer med 4 tillägg och 5 borttagningar
  1. 4 5
      dashboard/src/main/home/project-settings/UsagePage.tsx

+ 4 - 5
dashboard/src/main/home/project-settings/UsagePage.tsx

@@ -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} />