Fix adventure grouping in collections

This commit is contained in:
Sean Morley
2024-10-01 09:32:02 -04:00
parent 1eadac90f1
commit b9cae8a687
4 changed files with 176 additions and 157 deletions

View File

@@ -185,10 +185,7 @@
{adventureToEdit}
on:close={() => (isAdventureModalOpen = false)}
on:save={saveOrCreate}
collection_id={collection.id}
startDate={collection.start_date}
endDate={collection.end_date}
is_collection={true}
{collection}
/>
{/if}
@@ -598,11 +595,11 @@
<p class="font-semibold text-black text-md">
{adventure.type.charAt(0).toUpperCase() + adventure.type.slice(1)}
</p>
<p>
{adventure.date
<!-- <p>
{adventure.
? new Date(adventure.date).toLocaleDateString(undefined, { timeZone: 'UTC' })
: ''}
</p>
</p> -->
</Popup>
</DefaultMarker>
{/if}