Fix ioi16
This commit is contained in:
parent
45ada7995a
commit
cdb7834de5
2 changed files with 2 additions and 2 deletions
|
@ -930,7 +930,7 @@ class UserContestSubmissionsAjax(UserContestSubmissions):
|
|||
filtered_submissions = []
|
||||
|
||||
# Only show this for some users when using ioi16
|
||||
if self.contest.format_name != "ioi16" or self.include_frozen:
|
||||
if self.contest.format_name != "ioi16" or self.request.user.is_superuser:
|
||||
for s in context["submissions"]:
|
||||
if not hasattr(s, "contest"):
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue