projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Fanorona
[vchess.git]
/
client
/
src
/
views
/
Hall.vue
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
7d7f234
..
c91e127
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-982,7
+982,7
@@
export default {
.getElementById("btnC" + newChall.type)
.classList.add("somethingnew");
}
.getElementById("btnC" + newChall.type)
.classList.add("somethingnew");
}
- if (chall.to == this.st.user.name) {
+ if (
!!chall.to &&
chall.to == this.st.user.name) {
notify(
"New challenge",
// fromValues.name should exist since the player is online, but
notify(
"New challenge",
// fromValues.name should exist since the player is online, but