projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix challenge through URL for tournament
[vchess.git]
/
client
/
src
/
views
/
Hall.vue
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
4708bcf
..
28d59c9
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-326,9
+326,10
@@
export default {
cadence: this.$route.query["cadence"],
// Tournament: no randomness (TODO: for now at least)
randomness: 0,
cadence: this.$route.query["cadence"],
// Tournament: no randomness (TODO: for now at least)
randomness: 0,
- memorize:
false
+ memorize:
true //TODO...
};
};
- this.issueNewChallenge();
+ window.doClick("modalNewgame");
+ //this.issueNewChallenge(); //NOTE: doesn't work yet.
},
this.$route.query["variant"]
);
},
this.$route.query["variant"]
);
@@
-873,10
+874,6
@@
export default {
let newGame = game;
newGame.type = this.classifyObject(game);
newGame.vname = this.getVname(game.vid);
let newGame = game;
newGame.type = this.classifyObject(game);
newGame.vname = this.getVname(game.vid);
-
-
-console.log(newGame.vname);
-console.log(game.vid);
if (!game.score)
// New game from Hall
newGame.score = "*";
if (!game.score)
// New game from Hall
newGame.score = "*";