Do not show variant name when practicing against computer
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 8 Apr 2020 21:52:08 +0000 (23:52 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 8 Apr 2020 21:52:08 +0000 (23:52 +0200)
client/src/views/Rules.vue

index 367963c..d02901a 100644 (file)
@@ -26,7 +26,7 @@ main
           | {{ st.tr["Analysis mode"] }}
   .row
     .col-sm-12.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
-      h4#variantName {{ gameInfo.vname }}
+      h4#variantName(v-show="display=='rules'") {{ gameInfo.vname }}
       div(
         v-show="display=='rules'"
         v-html="content"