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

refactor: Add umami event tracking to adventure card buttons

This commit is contained in:
Sean Morley 2024-07-30 08:34:26 -04:00
parent 053c1ff681
commit 42f6c84633
3 changed files with 18 additions and 4 deletions

View file

@ -242,8 +242,11 @@
><Plus class="w-6 h-6" />Add to Collection</button
>
{/if}
<button class="btn btn-warning" on:click={deleteAdventure}
><TrashCan class="w-6 h-6" />Delete</button
<button
id="delete_adventure"
data-umami-event="Delete Adventure"
class="btn btn-warning"
on:click={deleteAdventure}><TrashCan class="w-6 h-6" />Delete</button
>
</ul>
</div>