projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fill About.vue, clean translations
[vchess.git]
/
client
/
src
/
views
/
Analyze.vue
diff --git
a/client/src/views/Analyze.vue
b/client/src/views/Analyze.vue
index
cecb773
..
cd25c25
100644
(file)
--- a/
client/src/views/Analyze.vue
+++ b/
client/src/views/Analyze.vue
@@
-1,7
+1,8
@@
<template lang="pug">
<template lang="pug">
-.row
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- BaseGame(:game="game" :vr="vr" ref="basegame")
+main
+ .row
+ .col-sm-12.col-md-10.col-md-offset-1
+ BaseGame(:game="game" :vr="vr" ref="basegame")
</template>
<script>
</template>
<script>
@@
-49,6
+50,9
@@
export default {
const vModule = await import("@/variants/" + this.game.vname + ".js");
window.V = vModule.VariantRules;
this.vr = new V(this.game.fen);
const vModule = await import("@/variants/" + this.game.vname + ".js");
window.V = vModule.VariantRules;
this.vr = new V(this.game.fen);
+ // fenStart initialized in the end, after definition of V,
+ // because it triggers a reset on BaseGame component.
+ this.$set(this.game, "fenStart", this.gameRef.fen); //TODO: Vue3...
},
},
};
},
},
};