Browse Source

adds missing check

jjarrett21 2 years ago
parent
commit
c35137b1d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ui/src/cloudCostReports.js

+ 1 - 1
ui/src/cloudCostReports.js

@@ -235,7 +235,7 @@ const CloudCostReports = () => {
         </IconButton>
         </IconButton>
       </Header>
       </Header>
 
 
-      {!loading && errors.length > 0 && (
+      {!loading && errors.length > 0 && hasCloudCostEnabled && (
         <div style={{ marginBottom: 20 }}>
         <div style={{ marginBottom: 20 }}>
           <Warnings warnings={errors} />
           <Warnings warnings={errors} />
         </div>
         </div>