Fix analyze button
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 30 Apr 2020 23:21:00 +0000 (01:21 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 30 Apr 2020 23:21:00 +0000 (01:21 +0200)
client/src/components/BaseGame.vue

index d60a16f..e7e097f 100644 (file)
@@ -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
       );
     },