X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=8481048dbd56607e7f598c811dee854e7630e225;hp=bb97a74278eebcf69f21a54cac5acd2a66c7a38f;hb=42c15a75118bfeb3251cea1f65acb01fcd023f01;hpb=f6f2bef10910ddb3430a40f4ab393b225250234a diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index bb97a742..8481048d 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -2,17 +2,16 @@ table tr th Variant - th Players names - th Cadence + th White + th Black + th Time control th(v-if="showResult") Result - th(v-else) Moves count tr(v-for="g in games" @click="$emit('show-game',g)") td {{ g.vname }} - td - span(v-for="p in g.players") {{ p.name }} - td {{ g.mainTime }} + {{ g.increment }} + td {{ g.players[0] }} + td {{ g.players[1] }} + td {{ g.timeControl }} td(v-if="showResult") {{ g.score }} - td(v-else) {{ g.movesCount }}