Skip to content

Commit

Permalink
add missing pendingValue check
Browse files Browse the repository at this point in the history
  • Loading branch information
rbjornstad committed Oct 23, 2023
1 parent 20306e4 commit 157083f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/routes/team/[team]/(teamTabs)/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,16 @@
</Card>
<Card columns={6}>
<h3>Managed resources</h3>
{#each teamSettings.gcpProjects as project}
{#if project.environment !== 'ci-gcp'}
<dl>
<dt>GCP project ID ({project.environment}):</dt>
<dd>{project.id}</dd>
</dl>
{/if}
{/each}
{#if teamSettings.gcpProjects.length > 0 && teamSettings.gcpProjects[0].environment !== PendingValue}
{#each teamSettings.gcpProjects as project}
{#if project.environment !== 'ci-gcp'}
<dl>
<dt>GCP project ID ({project.environment}):</dt>
<dd>{project.id}</dd>
</dl>
{/if}
{/each}
{/if}
<!--p>GitHub repositories:</p>
{#each teamSettings.githubRepositories.edges as repo}
Expand Down

0 comments on commit 157083f

Please sign in to comment.