Преглед изворни кода

add small fix for detecting the infra status from the latest op

Alexander Belanger пре 4 година
родитељ
комит
a9d9b1b13c

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ProvisionResources/forms/StatusPage.tsx

@@ -114,7 +114,7 @@ export const StatusPage = ({
 
       let erroredInfras = newInfras.filter((newInfra) => {
         if (newInfra.latest_operation) {
-          return newInfra.latest_operation.status == "errored";
+          return newInfra.latest_operation.errored;
         }
 
         return newInfra.status == "errored";