diff --git a/frontend/src/lib/components/card/Card.svelte b/frontend/src/lib/components/card/Card.svelte index fc572ad..1aa623f 100644 --- a/frontend/src/lib/components/card/Card.svelte +++ b/frontend/src/lib/components/card/Card.svelte @@ -1,10 +1,11 @@
currentDraggedCard.set(card)} - on:click={() => currentModalCard.set(card.id)} + on:click={() => (showModal = true)} role="button" on:keydown={(e) => { - if (e.key === 'Enter') { - currentModalCard.set(card.id); - } + if (e.key === 'Enter') showModal = true; }} > -
{card.title}
+
{card.id} - {card.title}
{#each card.cardTags as tag} {#if tag.option} @@ -32,7 +31,9 @@
- +{#if showModal} + +{/if}