Skip to content

Commit

Permalink
add fifth participant
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Jul 13, 2024
1 parent d392919 commit a9bbd77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/OnFloorWallLive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
</div>
<template v-if="heatInfos?.length === 1">
<div class="grid w-full grid-cols-[2fr_3fr] gap-6 mb-10 items-center justify-around">
<div class="grid w-full grid-cols-[2fr_3fr] gap-6 items-center justify-around">
<img
class="w-full max-w-100 border-2 justify-self-end"
:class="{
Expand All @@ -42,7 +42,7 @@
<div
class="font-bold"
:class="{
'text-8xl': !(heatInfos[0].Part2?.trim()?.length > 0 || heatInfos[0].Part3?.trim()?.length > 0 || heatInfos[0].Part4?.trim()?.length > 0)
'text-8xl': !((heatInfos[0].Part2?.trim()?.length ?? 0) > 0 || (heatInfos[0].Part3?.trim()?.length ?? 0) > 0 || (heatInfos[0].Part4?.trim()?.length ?? 0) > 0 || (heatInfos[0].Part5?.trim()?.length ?? 0) > 0)
}"
>
<p class="pb-4">
Expand All @@ -57,6 +57,9 @@
<p v-if="heatInfos[0].Part4?.trim()?.length > 0" class="pb-4">
{{ heatInfos[0].Part4 }}
</p>
<p v-if="heatInfos[0].Part5?.trim()?.length > 0" class="pb-4">
{{ heatInfos[0].Part5 }}
</p>
</div>
<p class="">
{{ heatInfos[0].TeamCountryName }}
Expand Down

0 comments on commit a9bbd77

Please sign in to comment.