X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d81a1de7036b9c9c5328da7fc3441be216d6ac91;hb=e6ca903027ba7c4867393ac8fe8c58b5fa6e0efe;hp=0a8bd8ce78faadb6466f52a576de49f764ff9887;hpb=aae89b49a846b2c101d74db7dff9151392d6db34;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 0a8bd8ce..d81a1de7 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -9,9 +9,9 @@ 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 {{ player_s(g) }} @@ -28,6 +28,7 @@ div