X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=c91e1270c1f0e8e4858e47f738a47c5cbb72778c;hb=7194d19ff71e36df0e8ce35e333b8ee3d8d8f1ae;hp=7d7f234f7cc79dec43599e7ae12a1e7d25a075a6;hpb=4258b58c6aff86ce69ebfbcd40d704836df27ac9;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 7d7f234f..c91e1270 100644 --- 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"); } - 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