From: Benjamin Auder Date: Wed, 4 Mar 2020 19:29:25 +0000 (+0100) Subject: debugging attempt X-Git-Url: https://git.auder.net/variants/Chakart/doc/html/scripts/css/%3C?a=commitdiff_plain;h=38c1dda1b3e992ef850d83e985b699e3338fe67c;p=vchess.git debugging attempt --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index f8add795..355010a3 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -370,6 +370,11 @@ export default { return this.people[sid].pages.some(p => p.indexOf("/game/") >= 0); }, getActionLabel: function(sid) { + + +console.log(this.people[sid]); + + return this.people[sid].pages.some(p => p == "/") ? "Challenge" : "Observe";