X-Git-Url: https://git.auder.net/pieces/Cwda/n_black_rook.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=bee328f16cd858113bfeabd47b7a8ebfb2cae525;hb=af32cf62c4e117a49a76aef24146555a724dd463;hp=a52e0cae57ee7fdb4fe39580759790a09b5be2d9;hpb=85e5b5c1e6192a134fa69182e8c077605fdb969f;p=vchess.git
diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue
index a52e0cae..bee328f1 100644
--- a/client/src/components/ChallengeList.vue
+++ b/client/src/components/ChallengeList.vue
@@ -1,34 +1,22 @@
table
tr
- th(v-if="showVariant") Variant
+ th Variant
th From
th To
th Cadence
- th(v-if="showNbPlayers") Number of players
tr(v-for="c in challenges" @click="$emit('click-challenge',c)")
- td(v-if="showVariant") {{ c.variant }}
+ td {{ c.vname }}
td {{ c.from.name }}
- td
- span(v-for="p in c.to") {{ p.name }}
- td {{ c.mainTime }} + {{ c.increment }}
- td(v-if="showNbPlayers") {{ c.nbPlayers }}
+ td {{ c.to }}
+ td {{ c.timeControl }}