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

@@ -63,9 +63,6 @@
</div>
{:else}
<div class="flex flex-col">
{#if $session.teamId === '0' && ownDestinations.length > 0 && otherDestinations.length > 0}
<div class="text-xl font-bold pb-5 px-6">Current Team</div>
{/if}
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each ownDestinations as destination}
<a href="/destinations/{destination.id}" class="no-underline p-2 w-96">
@@ -81,7 +78,7 @@
</div>
{#if otherDestinations.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 Destinations</div>
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each otherDestinations as destination}
<a href="/destinations/{destination.id}" class="no-underline p-2 w-96">