1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 21:39:37 +02:00

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
>