X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4be708d25bd3382e4dd9b3df48d270105dbae46b;hb=7805351e0b70a08e8c9a7d913cd172424067feb3;hp=4e1e54b8b53f047ca94c641a9176d177f938ef31;hpb=56c40600596cc772f86034808ddcb2cbaab35570;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 4e1e54b8..4be708d2 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -562,9 +562,12 @@ export default { }, // o: challenge or game classifyObject: function(o) { - // Consider imports as live games (TODO) - if (!!o.id && !!o.id.toString().match(/^i/)) return "live"; - return o.cadence.indexOf("d") === -1 ? "live" : "corr"; + // No imported games here + return ( + o.cadence.indexOf("d") >= 0 + ? "corr" + : (o.cadence.indexOf("/") >= 0 ? "simul" : "live") + ); }, setDisplay: function(letter, type, e) { this[letter + "display"] = type;