From c74b3e5c00a85056bd6cc2c891d945c5cf47acab Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 30 Mar 2020 21:09:55 +0200 Subject: [PATCH] Fix classifyObject() in Hall --- client/src/views/Hall.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 067a50db..0982af00 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -516,8 +516,10 @@ export default { filterGames: function(type) { return this.games.filter(g => g.type == type); }, + // o: challenge or game classifyObject: function(o) { - // o: challenge or game + // Consider imports as live games (TODO) + if (!!o.id.match(/^i/)) return "live"; return o.cadence.indexOf("d") === -1 ? "live" : "corr"; }, setDisplay: function(letter, type, e) { -- 2.44.0