projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug newmove + messages
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
100eadf
..
83311cc
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-105,6
+105,9
@@
export default {
return "";
return this.game.moves[this.cursor].message || "";
},
return "";
return this.game.moves[this.cursor].message || "";
},
+ setCurrentMessage: function(message) {
+ this.game.moves[this.game.moves.length-1].message = message;
+ },
download: function() {
const content = this.getPgn();
// Prepare and trigger download link
download: function() {
const content = this.getPgn();
// Prepare and trigger download link