X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d81a1de7036b9c9c5328da7fc3441be216d6ac91;hp=5596e4486b52ebb1d210acffeccf6b5a63247eea;hb=5b18515f0b7dbfab8a2770d9b0fc7aace09267dc;hpb=a06fc4ba49b535ba45d70ee7401c5d2e26faefa2 diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 5596e448..d81a1de7 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -64,8 +64,9 @@ export default { if ( this.st.user.sid == g.players[0].sid || this.st.user.id == g.players[0].id - ) + ) { return g.players[1].name || "@nonymous"; + } return g.players[0].name || "@nonymous"; }, sortedGames: function() {