From: Benjamin Auder Date: Fri, 27 Mar 2020 19:00:38 +0000 (+0100) Subject: Do not show no-problems variants in problems select box X-Git-Url: https://git.auder.net/%3C?a=commitdiff_plain;h=e75718fc502801bb4d97eb9efddb1ae34727f3ed;p=vchess.git Do not show no-problems variants in problems select box --- diff --git a/client/src/views/Problems.vue b/client/src/views/Problems.vue index 270707d3..b1a02b14 100644 --- a/client/src/views/Problems.vue +++ b/client/src/views/Problems.vue @@ -18,6 +18,7 @@ main ) option( v-for="v in [emptyVar].concat(st.variants)" + v-if="!v.noProblems" :value="v.id" :selected="curproblem.vid==v.id" )