X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=d0ea2f01efdd852219fa7c17f69c0b5b1414aa5a;hb=5fd5fb22de02ed6c585e86a1c3dda50ff6071d2f;hp=c1557a238f2e12638a1a879cf5334ec843c35579;hpb=602d6befd30793111d3fda6e733f73e08d8b7a30;p=vchess.git 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++; }