From e75718fc502801bb4d97eb9efddb1ae34727f3ed Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 27 Mar 2020 20:00:38 +0100
Subject: [PATCH] Do not show no-problems variants in problems select box

---
 client/src/views/Problems.vue | 1 +
 1 file changed, 1 insertion(+)

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"
           )
-- 
2.44.0