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:
parent
64dec7fe5f
commit
10466f5913
5 changed files with 57 additions and 30 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue