From 41c5dd3b53dc7e6a2158727a3179c151e4c4fa44 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sun, 10 Apr 2022 00:36:42 +0200 Subject: [PATCH] fix: Show config missing on sources --- src/routes/sources/index.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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