diff --git a/package.json b/package.json index 5bfd9fa40..a272908c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "2.4.1", + "version": "2.4.2", "license": "AGPL-3.0", "scripts": { "dev": "docker-compose -f docker-compose-dev.yaml up -d && cross-env NODE_ENV=development & svelte-kit dev", diff --git a/src/routes/sources/[id]/_Github.svelte b/src/routes/sources/[id]/_Github.svelte index 6b8aa0c89..a01746267 100644 --- a/src/routes/sources/[id]/_Github.svelte +++ b/src/routes/sources/[id]/_Github.svelte @@ -104,7 +104,7 @@ {/if} - {:else if source.githubAppId} + {:else if source.githubApp?.installationId}
General
diff --git a/src/routes/sources/index.svelte b/src/routes/sources/index.svelte index 1e2d4d510..191eb8857 100644 --- a/src/routes/sources/index.svelte +++ b/src/routes/sources/index.svelte @@ -82,7 +82,8 @@ {#if $session.teamId === '0' && otherSources.length > 0}
{source.teams[0].name}
{/if} - {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)} + + {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && source.githubApp?.installationId === null)}
Configuration missing
@@ -109,7 +110,7 @@ {#if $session.teamId === '0'}
{source.teams[0].name}
{/if} - {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && !source.githubAppId && !source.githubApp?.installationId)} + {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && source.githubApp?.installationId === null)}
Configuration missing