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

feat: Add public/private badge to CollectionCard and fix delete button in NoteCard

This commit is contained in:
Sean Morley 2024-08-04 21:30:11 -04:00
parent 64dec7fe5f
commit 10466f5913
5 changed files with 57 additions and 30 deletions

View file

@ -61,6 +61,7 @@
) + 1}{' '}
days
</p>{/if}
<div class="badge badge-neutral">{collection.is_public ? 'Public' : 'Private'}</div>
<div class="card-actions justify-end">
{#if type != 'link'}
<button on:click={deleteCollection} class="btn btn-secondary"