From: Benjamin Auder Date: Mon, 30 Mar 2020 19:22:44 +0000 (+0200) Subject: Fix X-Git-Url: https://git.auder.net/variants/current/doc/css/img/mini-custom.min.css?a=commitdiff_plain;h=d2b314163a13f59426baac62792d3a0dd5bea92a;p=vchess.git Fix --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 0982af00..9d9df92a 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.match(/^i/)) return "live"; + if (!!o.id && !!o.id.match(/^i/)) return "live"; return o.cadence.indexOf("d") === -1 ? "live" : "corr"; }, setDisplay: function(letter, type, e) {