From: Benjamin Auder Date: Tue, 13 Apr 2021 21:55:08 +0000 (+0200) Subject: Add patch for preset challenges too X-Git-Url: https://git.auder.net/DESCRIPTION?a=commitdiff_plain;h=0cd10065df59cffb1d0b913b809a61b521f7f993;p=vchess.git Add patch for preset challenges too --- 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 }}