X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=e7e097fb7cd29b2cc4fd5f906b2e28df0f8aaa2b;hb=3cfd9287bfde5b5aad1e0dee61d084c690b1e54d;hp=dc78b2af4b5f73025b32bb520e04dd804578f2c9;hpb=596e24d030f94682a31df74799c13eb792a63cdf;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index dc78b2af..e7e097fb 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -51,6 +51,7 @@ div#baseGame :firstNum="firstMoveNumber" :moves="moves" :cursor="cursor" + :vname="game.vname" @download="download" @showrules="showRules" @analyze="toggleAnalyze" @@ -140,7 +141,7 @@ export default { }, canAnalyze: function() { return ( - !!this.game.mode && this.game.mode != "analyze" && + (!this.game.mode || this.game.mode != "analyze") && !!this.vr && this.vr.canAnalyze ); },