projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91bc5b
)
Fixed corr challenge refused bug
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 21:56:25 +0000
(22:56 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 4 Mar 2020 21:56:25 +0000
(22:56 +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
83de5a4
..
c943ff5
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-254,7
+254,7
@@
export default {
let names = {};
response.challenges.forEach(c => {
if (c.uid != this.st.user.id) names[c.uid] = "";
- else if (
!!
c.target && c.target != this.st.user.id)
+ else if (c.target && c.target != this.st.user.id)
names[c.target] = "";
});
const addChallenges = () => {
@@
-807,7
+807,7
@@
export default {
this.launchGame(c);
} else {
const oppsid = this.getOppsid(c);
- if (opp
S
id)
+ if (opp
s
id)
this.send("refusechallenge", { data: c.id, target: oppsid });
}
this.send("deletechallenge", { data: c.id });