X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d0ea2f01efdd852219fa7c17f69c0b5b1414aa5a;hp=c1557a238f2e12638a1a879cf5334ec843c35579;hb=5fd5fb22de02ed6c585e86a1c3dda50ff6071d2f;hpb=77c5096644d83aaae8ab1dd42a5cde524507cf9d diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index c1557a23..d0ea2f01 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -46,6 +46,7 @@ export default { || g.players[0].sid == this.st.user.sid ? "w" : "b"; + // I play in this game, so g.fen will be defined if (!!g.fen.match(" " + myColor + " ")) priority++; }