From: Benjamin Auder Date: Thu, 30 Apr 2020 23:21:00 +0000 (+0200) Subject: Fix analyze button X-Git-Url: https://git.auder.net/variants/Cwda/%7B%7B%20asset%28%27mixstore/images/banner.png%27%29%20%7D%7D?a=commitdiff_plain;h=3cfd9287bfde5b5aad1e0dee61d084c690b1e54d;p=vchess.git 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 ); },