X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d81a1de7036b9c9c5328da7fc3441be216d6ac91;hb=5fa88038b667df426472ef6f1ba5555320eaa1a4;hp=5396d13c45e3c0878051b4f63bea186ebe0426bd;hpb=b265313e42e5aa48fe86b2a1c66241bde4deb4fb;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 5396d13c..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