X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d81a1de7036b9c9c5328da7fc3441be216d6ac91;hb=5fa88038b667df426472ef6f1ba5555320eaa1a4;hp=7160202802eb856449bf12674a605ea1bb889e00;hpb=e727fe31742dfb3e40eb222c94f4199e2be98453;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 71602028..d81a1de7 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -9,7 +9,7 @@ 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}" ) @@ -28,6 +28,7 @@ div