Browse Source

Fix aws integration id field

jnfrati 4 năm trước cách đây
mục cha
commit
84e79c96a8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      dashboard/src/main/home/provisioner/AWSFormSection.tsx

+ 2 - 2
dashboard/src/main/home/provisioner/AWSFormSection.tsx

@@ -267,9 +267,9 @@ const AWSFormSectionFC: React.FC<PropsType> = (props) => {
       .filter(filterNonAWSInfras)
       .map((infra) => {
         if (infra.value === "ecr") {
-          return provisionECR(awsIntegrationId);
+          return provisionECR(awsIntegrationId?.id);
         }
-        return provisionEKS(awsIntegrationId);
+        return provisionEKS(awsIntegrationId?.id);
       });
     // Wait for all promises to be completed (could be just one)
     await Promise.all(infraCreationRequests);