fix: show event_type_label on events list cards

Made-with: Cursor
This commit is contained in:
2026-04-14 21:51:08 +02:00
parent c4712cea77
commit acb7fb2c3a

View File

@@ -139,20 +139,12 @@ function navigateToEvent(event: EventItem) {
</h5>
<div class="d-flex gap-x-2">
<VChip
v-if="event.event_type === 'festival'"
color="purple"
v-if="event.event_type === 'festival' || event.event_type === 'series'"
:color="eventTypeColor[event.event_type]"
size="small"
variant="tonal"
>
Festival
</VChip>
<VChip
v-else-if="event.event_type === 'series'"
color="info"
size="small"
variant="tonal"
>
Serie
{{ event.event_type_label ?? (event.event_type === 'festival' ? 'Festival' : 'Serie') }}
</VChip>
<VChip
:color="statusColor[event.status]"