1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-04 12:45:17 +02:00

Add trips and plans fix

This commit is contained in:
Sean Morley 2024-05-28 16:43:08 +00:00
parent ed94baa3c7
commit 2913ceb394

View file

@ -242,7 +242,7 @@
{/each} {/each}
</div> </div>
{#if adventuresPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && tripPlans.length == 0} {#if adventuresPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && tripPlans.length > 0}
<div class="flex flex-col items-center justify-center mt-16"> <div class="flex flex-col items-center justify-center mt-16">
<article class="prose mb-4"><h2>Add some plans!</h2></article> <article class="prose mb-4"><h2>Add some plans!</h2></article>
<img src={mapDrawing} width="25%" alt="Logo" /> <img src={mapDrawing} width="25%" alt="Logo" />
@ -284,13 +284,20 @@
{/each} {/each}
</div> </div>
{#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip} {#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && adventuresPlans.length > 0}
<div class="flex flex-col items-center justify-center mt-16"> <div class="flex flex-col items-center justify-center mt-16">
<article class="prose mb-4"><h2>Add some trips!</h2></article> <article class="prose mb-4"><h2>Add some trips!</h2></article>
<img src={mapDrawing} width="25%" alt="Logo" /> <img src={mapDrawing} width="25%" alt="Logo" />
</div> </div>
{/if} {/if}
{#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && adventuresPlans.length == 0}
<div class="flex flex-col items-center justify-center mt-16">
<article class="prose mb-4"><h2>Add some trips and plans!</h2></article>
<img src={mapDrawing} width="25%" alt="Logo" />
</div>
{/if}
<svelte:head> <svelte:head>
<title>My Plans | AdventureLog</title> <title>My Plans | AdventureLog</title>
<meta <meta