X-Git-Url: https://git.auder.net/rpsls.js?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=bee328f16cd858113bfeabd47b7a8ebfb2cae525;hb=2c6cb25eb12074af1f0fb29383eef8a175abb0f0;hp=1aafa95bebe2afda68d176c1cdc004f59ded2750;hpb=5578a7bfe37908a6c020f1c394504062e0ad72b5;p=vchess.git diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue index 1aafa95b..bee328f1 100644 --- a/client/src/components/ChallengeList.vue +++ b/client/src/components/ChallengeList.vue @@ -6,11 +6,9 @@ table th To th Cadence tr(v-for="c in challenges" @click="$emit('click-challenge',c)") - td {{ c.variant.name }} + td {{ c.vname }} td {{ c.from.name }} - td(v-if="c.to[0].id > 0") - span(v-for="p in c.to") {{ p.name }} - td(v-else) {{ c.nbPlayers - 1 }} player{{ c.nbPlayers >= 3 ? 's' : '' }} + td {{ c.to }} td {{ c.timeControl }}