Add patch for preset challenges too
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 21:55:08 +0000 (23:55 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 21:55:08 +0000 (23:55 +0200)
client/src/views/Hall.vue

index 9fcc2e0..98c52c5 100644 (file)
@@ -172,9 +172,11 @@ main
             th {{ st.tr["Options"] }}
             th
         tbody
+          // TODO: remove the check !!pc.options
           tr(
             v-for="pc in presetChalls"
             @click="newChallFromPreset(pc)"
+            v-if="!!pc.options"
           )
             td {{ pc.vname }}
             td {{ pc.cadence }}