From 2913ceb394326acaed223c7f642469a0f9283693 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Tue, 28 May 2024 16:43:08 +0000 Subject: [PATCH] Add trips and plans fix --- src/routes/planner/+page.svelte | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/routes/planner/+page.svelte b/src/routes/planner/+page.svelte index 4377748..8f86987 100644 --- a/src/routes/planner/+page.svelte +++ b/src/routes/planner/+page.svelte @@ -242,7 +242,7 @@ {/each} -{#if adventuresPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && tripPlans.length == 0} +{#if adventuresPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && tripPlans.length > 0}

Add some plans!

Logo @@ -284,13 +284,20 @@ {/each}
-{#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip} +{#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && adventuresPlans.length > 0}

Add some trips!

Logo
{/if} +{#if tripPlans.length == 0 && !isLoadingIdeas && !isLoadingTrips && !isShowingMoreFields && !isShowingNewTrip && adventuresPlans.length == 0} +
+

Add some trips and plans!

+ Logo +
+{/if} + My Plans | AdventureLog