From: Benjamin Auder Date: Mon, 30 Mar 2020 19:24:20 +0000 (+0200) Subject: Fix X-Git-Url: https://git.auder.net/variants/Chakart/css/assets/doc/%7B%7B%20targetUrl%20%7D%7D?a=commitdiff_plain;h=78d60fc852926e9ad643105d706847de49b5237e;p=vchess.git Fix --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 9d9df92a..d0012fc6 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -519,7 +519,7 @@ export default { // o: challenge or game classifyObject: function(o) { // Consider imports as live games (TODO) - if (!!o.id && !!o.id.match(/^i/)) return "live"; + if (!!o.id && !!o.id.toString().match(/^i/)) return "live"; return o.cadence.indexOf("d") === -1 ? "live" : "corr"; }, setDisplay: function(letter, type, e) {