projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix README, TODO and a mistake in MyGames
[vchess.git]
/
client
/
src
/
views
/
MyGames.vue
diff --git
a/client/src/views/MyGames.vue
b/client/src/views/MyGames.vue
index
e843931
..
bcf7d18
100644
(file)
--- a/
client/src/views/MyGames.vue
+++ b/
client/src/views/MyGames.vue
@@
-102,8
+102,10
@@
export default {
(rem == 1 && myColor == "b")
);
};
(rem == 1 && myColor == "b")
);
};
- if (game.type == "live" || !isMyTurn(game))
+ if (game.type == "live" || !isMyTurn(game))
{
this.$router.push("/game/" + game.id);
this.$router.push("/game/" + game.id);
+ return;
+ }
// It's my turn in this game. Are there others?
let nextIds = "";
let otherCorrGamesMyTurn = this.corrGames.filter(
// It's my turn in this game. Are there others?
let nextIds = "";
let otherCorrGamesMyTurn = this.corrGames.filter(