Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivomarsan committed Oct 10, 2019
1 parent 443b6d2 commit 44eb7ab
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/views/Matches.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@
v-show="match.date !== 'TBA' || toConfirmShow === true"
>
<td class="next-logos left" :class="match.teamsId[0]">
<span :class="match.date === 'TBA' ? 'tba' : ''">
{{ match.teams[0] }}
</span>
<span :class="match.date === 'TBA' ? 'tba' : ''">{{
match.teams[0]
}}</span>
</td>
<td>vs</td>
<td class="next-logos right" :class="match.teamsId[1]">
<span :class="match.date === 'TBA' ? 'tba' : ''">
{{ match.teams[1] }}
</span>
<span :class="match.date === 'TBA' ? 'tba' : ''">{{
match.teams[1]
}}</span>
</td>
<td>{{ match.date | moment("dddd, DD/MM HH:mm") }}</td>
<td>Grupo {{ match.group }}</td>
Expand Down Expand Up @@ -127,16 +127,16 @@
>
<div class="card">
<p class="teams">
<span :class="match.scores ? 'winner' : ''">{{
match.teams[0]
}}</span>
<span :class="match.scores ? 'winner' : ''">
{{ match.teams[0] }}
</span>
<span v-if="match.scores"
>{{ match.scores[0] }} vs {{ match.scores[1] }}</span
>
<span v-else>vs</span>
<span :class="match.scores ? 'loser' : ''">
{{ match.teams[1] }}
</span>
<span :class="match.scores ? 'loser' : ''">{{
match.teams[1]
}}</span>
</p>
<p v-if="!match.scores" style="margin: 0; text-align: center;">
<span class="badge badge-danger">Aguardando Resultados</span>
Expand Down Expand Up @@ -233,7 +233,7 @@ export default {
this.addMatch({
teams: ["app", "kmc"],
date: new Date("2019-10-09 23:00")
date: new Date("2019-10-15 22:00")
});
this.addMatch({
Expand Down

0 comments on commit 44eb7ab

Please sign in to comment.