diff --git a/client/web/src/enterprise/batches/settings/CodeHostConnectionNode.tsx b/client/web/src/enterprise/batches/settings/CodeHostConnectionNode.tsx index 4d88ec86b92..d11cda34b2d 100644 --- a/client/web/src/enterprise/batches/settings/CodeHostConnectionNode.tsx +++ b/client/web/src/enterprise/batches/settings/CodeHostConnectionNode.tsx @@ -146,7 +146,7 @@ export const CodeHostConnectionNode: React.FunctionComponent )} -
+
{isEnabled ? ( gitHubApp ? ( >(CHECK_BATCH_CHANGES_CREDENTIAL, {}) return config ? ( - <> +
{removeModalOpen && ( setRemoveModalOpen(false)} afterDelete={refetch} app={config} /> )} @@ -140,11 +140,15 @@ export const GitHubAppControls: React.FunctionComponent )} {!checkCredLoading && (checkCredResult || checkCredErr) && ( - - "{config.name}" is {checkCredErr ? 'not' : ''} accessible. - + <> +
+ + {config.name} is {checkCredErr ? 'not' : ''}{' '} + accessible. + + )} - +
) : ( Create GitHub App