浏览代码

only show when there aren't any additional report errors

jjarrett21 2 年之前
父节点
当前提交
88d31e0b84
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>