diff --git a/frontend/src/lib/components/card/Card.svelte b/frontend/src/lib/components/card/Card.svelte index e1fdc80..38de2ae 100644 --- a/frontend/src/lib/components/card/Card.svelte +++ b/frontend/src/lib/components/card/Card.svelte @@ -1,9 +1,8 @@ @@ -21,25 +20,21 @@ } }} > -
{card.title}
- {#if card.tags} -
- {#each card.tags as tag} - {#if tag.option_id} - {#if $project_tags[tag.tag_id]} - - {$project_tags[tag.tag_id]?.options.find((o) => o.id == tag.option_id)?.value} - {/if} - {:else if tag.value} - {tag.value} - {/if} - {/each} -
- {/if} +
{card.id} - {card.title}
+
+ {#each card.cardTags as tag} + {#if tag.option} + {tag.projectTag.id}: {tag.option.id} ({tag.option.value}) + {:else if tag.value} + {tag.value} + {/if} + {/each} +
- +