projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix
[vchess.git]
/
client
/
src
/
views
/
Hall.vue
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
9d9df92
..
d0012fc
100644
(file)
--- 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)
// 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) {
return o.cadence.indexOf("d") === -1 ? "live" : "corr";
},
setDisplay: function(letter, type, e) {