Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Frontend tweak
x032205e34deb7bd0f4
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubConnectionForm.tsxindex 4e4c3bffdd..4f2cffd443 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/GitHubConnectionForm.tsx@@ -46,9 +46,11 @@ type Props = {const formSchema = genericAppConnectionFieldsSchema.extend({app: z.literal(AppConnection.GitHub),method: z.nativeEnum(GitHubConnectionMethod),- credentials: z.object({- host: z.string().optional()- })+ credentials: z+ .object({+ host: z.string().optional()+ })+ .optional()});type FormData = z.infer<typeof formSchema>;@@ -92,7 +94,7 @@ export const GitHubConnectionForm = ({ appConnection }: Props) => {);const githubHost =- formData.credentials.host && formData.credentials.host.length > 0+ formData.credentials?.host && formData.credentials.host.length > 0? `https://${formData.credentials.host}`: "https://github.com";