Explorar el Código

Added extra casing to show continue button

jnfrati hace 4 años
padre
commit
1a09f66dd0

+ 4 - 0
dashboard/src/main/home/onboarding/steps/ProvisionResources/ProvisionResources.tsx

@@ -49,6 +49,10 @@ const ProvisionResources: React.FC<Props> = () => {
   };
 
   const renderSaveButton = () => {
+    if (typeof infraStatus?.hasError !== "boolean") {
+      return;
+    }
+
     if (infraStatus && !infraStatus.hasError) {
       return (
         <>