projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c07ba
)
Do not show chat button in blue if game is over
author
Benjamin Auder
<benjamin.auder@somewhere>
Fri, 21 Feb 2020 14:02:26 +0000
(15:02 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Fri, 21 Feb 2020 14:02:26 +0000
(15:02 +0100)
client/src/views/Game.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
e5b57a9
..
851c6d7
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-463,7
+463,7
@@
export default {
game.chats.sort((c1, c2) => {
return c2.added - c1.added;
});
- if (myIdx >= 0 && game.chats.length > 0) {
+ if (myIdx >= 0 && game.
score == "*" && game.
chats.length > 0) {
// Did a chat message arrive after my last move?
let vr_tmp = new V(game.fen); //start from last position
const flags = V.ParseFen(game.fen).flags; //may be undefined