X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FRules.vue;h=48a9e935bd75320d5621da682a46102b0a994632;hp=2af53b494f6367c818b6039f08a14a60ce728469;hb=84fc0f02d3d399af66c40b3e9994f67b415ffd0e;hpb=68ff39135865a7b68d36b9f0be2633f5296ab091 diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue index 2af53b49..48a9e935 100644 --- a/client/src/views/Rules.vue +++ b/client/src/views/Rules.vue @@ -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