fix: show event_type_label on events list cards
Made-with: Cursor
This commit is contained in:
@@ -139,20 +139,12 @@ function navigateToEvent(event: EventItem) {
|
|||||||
</h5>
|
</h5>
|
||||||
<div class="d-flex gap-x-2">
|
<div class="d-flex gap-x-2">
|
||||||
<VChip
|
<VChip
|
||||||
v-if="event.event_type === 'festival'"
|
v-if="event.event_type === 'festival' || event.event_type === 'series'"
|
||||||
color="purple"
|
:color="eventTypeColor[event.event_type]"
|
||||||
size="small"
|
size="small"
|
||||||
variant="tonal"
|
variant="tonal"
|
||||||
>
|
>
|
||||||
Festival
|
{{ event.event_type_label ?? (event.event_type === 'festival' ? 'Festival' : 'Serie') }}
|
||||||
</VChip>
|
|
||||||
<VChip
|
|
||||||
v-else-if="event.event_type === 'series'"
|
|
||||||
color="info"
|
|
||||||
size="small"
|
|
||||||
variant="tonal"
|
|
||||||
>
|
|
||||||
Serie
|
|
||||||
</VChip>
|
</VChip>
|
||||||
<VChip
|
<VChip
|
||||||
:color="statusColor[event.status]"
|
:color="statusColor[event.status]"
|
||||||
|
|||||||
Reference in New Issue
Block a user