From 0cd10065df59cffb1d0b913b809a61b521f7f993 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 13 Apr 2021 23:55:08 +0200
Subject: [PATCH] Add patch for preset challenges too

---
 client/src/views/Hall.vue | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue
index 9fcc2e0d..98c52c5d 100644
--- a/client/src/views/Hall.vue
+++ b/client/src/views/Hall.vue
@@ -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 }}
-- 
2.44.0