Browse Source

only show when there aren't any additional report errors

jjarrett21 2 năm trước cách đây
mục cha
commit
88d31e0b84
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ui/src/cloudCostReports.js

+ 1 - 1
ui/src/cloudCostReports.js

@@ -240,7 +240,7 @@ const CloudCostReports = () => {
           <Warnings warnings={errors} />
         </div>
       )}
-      {!loading && !hasCloudCostEnabled && (
+      {!loading && !errors && !hasCloudCostEnabled && (
         <div style={{ marginBottom: 20 }}>
           <Warnings warnings={enabledWarnings} />
         </div>