From e9084db832cc732603f3a527a5c16ba0b65a08b9 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Fri, 17 Jan 2025 17:33:16 -0500 Subject: [PATCH] fix: remove default adventure type and streamline image upload form --- frontend/src/lib/components/AdventureModal.svelte | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/frontend/src/lib/components/AdventureModal.svelte b/frontend/src/lib/components/AdventureModal.svelte index 322e67fa..1e9b1b41 100644 --- a/frontend/src/lib/components/AdventureModal.svelte +++ b/frontend/src/lib/components/AdventureModal.svelte @@ -48,7 +48,6 @@ let adventure: Adventure = { id: '', name: '', - type: 'visited', visits: [], link: null, description: null, @@ -75,7 +74,6 @@ adventure = { id: adventureToEdit?.id || '', name: adventureToEdit?.name || '', - type: adventureToEdit?.type || 'general', link: adventureToEdit?.link || null, description: adventureToEdit?.description || null, activity_types: adventureToEdit?.activity_types || [], @@ -1045,13 +1043,7 @@ it would also work to just use on:click on the MapLibre component itself. --> -
+