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:
parent
b2ceda819c
commit
c5cbea1c20
3 changed files with 249 additions and 63 deletions
|
@ -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
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue