refactor: Improve adventure card UI and collection functionality

This commit is contained in:
Sean Morley
2024-08-01 11:01:27 -04:00
parent b2ceda819c
commit c5cbea1c20
3 changed files with 249 additions and 63 deletions

View File

@@ -226,7 +226,7 @@
>
{/if}
<!-- remove from adventure -->
{#if (adventure.collection && adventure.type == 'visited') || adventure.type == 'planned'}
{#if adventure.collection && (adventure.type == 'visited' || adventure.type == 'planned')}
<button class="btn btn-neutral mb-2" on:click={removeFromCollection}
><LinkVariantRemove class="w-6 h-6" />Remove from Collection</button
>