From: Benjamin Auder Date: Thu, 30 Apr 2020 23:21:00 +0000 (+0200) Subject: Fix analyze button X-Git-Url: https://git.auder.net/?p=vchess.git;a=commitdiff_plain;h=3cfd9287bfde5b5aad1e0dee61d084c690b1e54d Fix analyze button --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index d60a16ff..e7e097fb 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -141,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 ); },