A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(integrations): prevent certificate trust button from submitting the form (#6020)
Afonso Jorge Ramos0f66bfd6c128
diff --git a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsxindex 6ebbdbb6d..a0622d5aa 100644--- a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx+++ b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx@@ -131,6 +131,7 @@ export const CertificateErrorDetails = ({ error, url }: CertificateErrorDetailsP{(error.data.reason === "untrusted" && rootCertificate.isSelfSigned) ||error.data.reason === "hostnameMismatch" ? (<Button+ type="button"variant="default"fullWidthonClick={error.data.reason === "hostnameMismatch" ? handleTrustHostname : handleTrustSelfSigned}@@ -140,6 +141,7 @@ export const CertificateErrorDetails = ({ error, url }: CertificateErrorDetailsP) : null}{error.data.reason === "untrusted" && !rootCertificate.isSelfSigned ? (<Button+ type="button"variant="default"fullWidthonClick={() =>