Sfoglia il codice sorgente

adds missing check

jjarrett21 2 anni fa
parent
commit
c35137b1d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ui/src/cloudCostReports.js

+ 1 - 1
ui/src/cloudCostReports.js

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