mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 19:26:07 +00:00
fix: correct boolean check for orgId error and improve visual separation of github connections
This commit is contained in:
@@ -478,7 +478,7 @@ export default function GitHubCreateIntegrationPage() {
|
|||||||
errorText={
|
errorText={
|
||||||
integrationAuthOrgs?.length ? error?.message : "No organizations found"
|
integrationAuthOrgs?.length ? error?.message : "No organizations found"
|
||||||
}
|
}
|
||||||
isError={Boolean(integrationAuthOrgs?.length && error?.message)}
|
isError={Boolean(integrationAuthOrgs?.length || error?.message)}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
value={field.value}
|
value={field.value}
|
||||||
|
|||||||
@@ -170,6 +170,11 @@ export default function SelectIntegrationAuthPage() {
|
|||||||
);
|
);
|
||||||
})
|
})
|
||||||
: undefined}
|
: undefined}
|
||||||
|
<div className="mt-6 flex w-full flex-row items-center justify-center">
|
||||||
|
<div className="w-1/5 border-t border-mineshaft-400" />
|
||||||
|
<p className="mx-4 text-xs text-gray-400">OR</p>
|
||||||
|
<div className="w-1/5 border-t border-mineshaft-400" />
|
||||||
|
</div>
|
||||||
<Button
|
<Button
|
||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
className="mt-6 w-3/4"
|
className="mt-6 w-3/4"
|
||||||
|
|||||||
Reference in New Issue
Block a user