X-Git-Url: https://git.auder.net/doc/current/git-logo.png?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=a90905507b02d9642afc9e9b2ecc36dc9488f47e;hb=7aa548e72ba8a4af4e2c7f63e7723ad10d2cd3a4;hp=60d4fedeb0a4016b20b4a3b44c813e68b904d8d1;hpb=7e355d68b5962aad106e28a9d669a47f3cbec43a;p=vchess.git
diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue
index 60d4fede..a9090550 100644
--- a/client/src/components/GameList.vue
+++ b/client/src/components/GameList.vue
@@ -1,18 +1,19 @@
-table
- tr
- th Variant
- th White
- th Black
- th Time control
- th(v-if="showResult") Result
- tr(v-for="g in sortedGames" @click="$emit('show-game',g)"
- :class="{'my-turn': g.myTurn}")
- td {{ g.vname }}
- td {{ g.players[0].name || "@nonymous" }}
- td {{ g.players[1].name || "@nonymous" }}
- td {{ g.timeControl }}
- td(v-if="showResult") {{ g.score }}
+div
+ table
+ tr
+ th Variant
+ th White
+ th Black
+ th Time control
+ th(v-if="showResult") Result
+ tr(v-for="g in sortedGames" @click="$emit('show-game',g)"
+ :class="{'my-turn': g.myTurn}")
+ td {{ g.vname }}
+ td {{ g.players[0].name || "@nonymous" }}
+ td {{ g.players[1].name || "@nonymous" }}
+ td {{ g.timeControl }}
+ td(v-if="showResult") {{ g.score }}