Update frontend/pages/wedstrijd/alltimes.vue
Some checks failed
Build and Deploy / Deploy (push) Failing after 3m56s

This commit is contained in:
xeovalyte 2024-10-19 11:25:34 +02:00
parent 903d366788
commit d6bbb89581

View File

@ -64,13 +64,13 @@
<div @click="event.open = !event.open" class="flex hover:cursor-pointer">
<h2 class="font-bold mr-auto">{{ event.name }}</h2>
<span v-if="contestStore.filteredTimings.filter(a => a.event === event.id).length > 0" class="">
<span>
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.minutes }}:{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.seconds }}:{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.milliseconds }} |</span>
</span>
<span class="hidden md:inline-block mr-1">
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].contest.type }}
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].contest.date.toLocaleDateString('nl-NL') }} |
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].contest.location }} |
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].contest.type }} |
</span>
<span>
{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.minutes }}:{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.seconds }}:{{ contestStore.filteredTimings.filter(a => a.event === event.id)[0].time.milliseconds }}</span>
</span>
<span v-else class="">Geen tijd</span>
<Icon size="1.2em" name="ion:arrow-down-b" class="my-auto ml-2 transition-all" :class="{'rotate-180' : event.open }" />