fix: Show config missing on sources
This commit is contained in:
parent
bb0c93dc2f
commit
41c5dd3b53
1 changed files with 3 additions and 2 deletions
|
|
@ -82,7 +82,8 @@
|
||||||
{#if $session.teamId === '0' && otherSources.length > 0}
|
{#if $session.teamId === '0' && otherSources.length > 0}
|
||||||
<div class="truncate text-center">{source.teams[0].name}</div>
|
<div class="truncate text-center">{source.teams[0].name}</div>
|
||||||
{/if}
|
{/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)}
|
||||||
<div class="truncate text-center font-bold text-red-500 group-hover:text-white">
|
<div class="truncate text-center font-bold text-red-500 group-hover:text-white">
|
||||||
Configuration missing
|
Configuration missing
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -109,7 +110,7 @@
|
||||||
{#if $session.teamId === '0'}
|
{#if $session.teamId === '0'}
|
||||||
<div class="truncate text-center">{source.teams[0].name}</div>
|
<div class="truncate text-center">{source.teams[0].name}</div>
|
||||||
{/if}
|
{/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)}
|
||||||
<div class="truncate text-center font-bold text-red-500 group-hover:text-white">
|
<div class="truncate text-center font-bold text-red-500 group-hover:text-white">
|
||||||
Configuration missing
|
Configuration missing
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue