Refactor Problems view: should now handle better long problems lists
[vchess.git] / client / src / views / Rules.vue
index 2af53b4..48a9e93 100644 (file)
@@ -72,7 +72,7 @@ export default {
   },
   computed: {
     showAnalyzeBtn: function() {
-      return this.V && this.V.CanAnalyze;
+      return !!this.V && this.V.CanAnalyze;
     },
     content: function() {
       if (!this.gameInfo.vname) return ""; //variant not set yet