Просмотр исходного кода

only show when there aren't any additional report errors

jjarrett21 2 лет назад
Родитель
Сommit
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>