Do not show no-problems variants in problems select box
[vchess.git] / client / src / views / Problems.vue
index 270707d..b1a02b1 100644 (file)
@@ -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"
           )