projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c1dda
)
Fix 'challenge' option for anonymous
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 19:32:30 +0000
(20:32 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 19:32:30 +0000
(20:32 +0100)
client/src/views/Hall.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
355010a
..
eb8b681
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-370,14
+370,9
@@
export default {
return this.people[sid].pages.some(p => p.indexOf("/game/") >= 0);
},
getActionLabel: function(sid) {
-
-
-console.log(this.people[sid]);
-
-
- return this.people[sid].pages.some(p => p == "/")
- ? "Challenge"
- : "Observe";
+ return this.people[sid].pages.some(p => p == "/game/")
+ ? "Observe"
+ : "Challenge";
},
challOrWatch: function(sid) {
if (this.people[sid].pages.some(p => p == "/")) {