fix: Ton of updates for users/teams

This commit is contained in:
Andras Bacsai
2022-04-07 23:26:06 +02:00
parent f779b3bb54
commit b96c1a23ec
20 changed files with 383 additions and 228 deletions

View File

@@ -47,16 +47,13 @@
</div>
{:else}
<div class="flex flex-col">
{#if $session.teamId === '0' && ownApplications.length > 0 && otherApplications.length > 0}
<div class="text-xl font-bold pb-5 px-1">Current Team</div>
{/if}
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each ownApplications as application}
<Application {application} />
{/each}
</div>
{#if otherApplications.length > 0 && $session.teamId === '0'}
<div class="text-xl font-bold pb-5 pt-10 px-6">Others</div>
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Applications</div>
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each otherApplications as application}
<Application {application} />