Fix Xiangqi + a few cosmetics
[vchess.git] / client / src / views / Hall.vue
index 0b3bb4e..03d3411 100644 (file)
@@ -1350,7 +1350,7 @@ export default {
                 new Audio("/sounds/newgame.flac").play().catch(() => {});
               notify(
                 "New live game",
-                { body: "vs " + game.players[1-myIdx].name || "@nonymous" }
+                { body: "vs " + (game.players[1-myIdx].name || "@nonymous") }
               );
             }
             this.$router.push("/game/" + gameInfo.id);