mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge pull request #859 from kawws/feature/github-app
feat: improve github app validation
This commit is contained in:
@@ -107,7 +107,24 @@ export const AddGithubProvider = () => {
|
|||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div className="flex w-full justify-end">
|
<div className="flex w-full items-center justify-between">
|
||||||
|
<a
|
||||||
|
href={
|
||||||
|
isOrganization && organizationName
|
||||||
|
? `https://github.com/organizations/${organizationName}/settings/installations`
|
||||||
|
: "https://github.com/settings/installations"
|
||||||
|
}
|
||||||
|
className={`text-muted-foreground text-sm hover:underline duration-300
|
||||||
|
${
|
||||||
|
isOrganization && !organizationName
|
||||||
|
? "pointer-events-none opacity-50"
|
||||||
|
: ""
|
||||||
|
}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
Unsure if you already have an app?
|
||||||
|
</a>
|
||||||
<Button
|
<Button
|
||||||
disabled={isOrganization && organizationName.length < 1}
|
disabled={isOrganization && organizationName.length < 1}
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user