diff --git a/frontend/src/lib/components/AdventureModal.svelte b/frontend/src/lib/components/AdventureModal.svelte index 4c2e07a..c097871 100644 --- a/frontend/src/lib/components/AdventureModal.svelte +++ b/frontend/src/lib/components/AdventureModal.svelte @@ -10,7 +10,6 @@ let fullEndDate: string = ''; let fullStartDateOnly: string = ''; let fullEndDateOnly: string = ''; - let allDay: boolean = true; // Set full start and end dates from collection if (collection && collection.start_date && collection.end_date) { @@ -626,7 +625,7 @@

{wikiError}

- {#if adventure.collections && adventure.collections.length == 0} + {#if !adventureToEdit || (adventureToEdit.collections && adventureToEdit.collections.length === 0)}