X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=0d488e51cf4ead64f3953ff3295ddd202b72d77b;hb=3d9745ae10ba867e4c1ec6e848db29c5e293420b;hp=0a8bd8ce78faadb6466f52a576de49f764ff9887;hpb=aae89b49a846b2c101d74db7dff9151392d6db34;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 0a8bd8ce..0d488e51 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -9,11 +9,11 @@ div th {{ st.tr["Result"] }} tbody tr( - v-for="g in sortedGames" + v-for="g in sortedGames()" @click="$emit('show-game',g)" - :class="{'my-turn': g.myTurn}" + :class="{'my-turn': !!g.myTurn}" ) - td {{ g.vname }} + td {{ g.vname + (g.options.abridged || '') }} td {{ player_s(g) }} td(v-if="showCadence") {{ g.cadence }} td( @@ -28,6 +28,7 @@ div