Update frontend/pages/wedstrijd/alltimes.vue
All checks were successful
Build and Deploy / Deploy (push) Successful in 4m34s

This commit is contained in:
xeovalyte 2024-10-19 11:33:47 +02:00
parent d6bbb89581
commit 408d592af0

View File

@ -65,13 +65,14 @@
<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>
{{ 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 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 }} |
</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 }" />
</div>