Always show problem types for volunteer

This commit is contained in:
cuom1999 2022-07-18 11:35:51 +07:00
parent 1ef68e0fdb
commit d1e5aaa3e1
2 changed files with 10 additions and 5 deletions

View file

@ -885,6 +885,9 @@ class ProblemFeed(ProblemList):
context["feed_type"] = self.feed_type
context["has_show_editorial_option"] = False
context["has_have_editorial_option"] = False
if self.feed_type == "volunteer":
context["problem_types"] = ProblemType.objects.all()
return context
def get(self, request, *args, **kwargs):