Skip to content

Commit

Permalink
Improve ignore pending interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Oct 31, 2023
1 parent fa4e2cb commit a55dfab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo_plugin/pages/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def view_course(dojo, resource=None):
user = get_current_user()
name = "Your"

ignore_pending = bool(request.args.get("ignore_pending"))
ignore_pending = request.args.get("ignore_pending") is not None

grades = {}
identity = {}
Expand Down Expand Up @@ -302,7 +302,7 @@ def view_all_grades(dojo):
if not dojo.is_admin():
abort(403)

ignore_pending = bool(request.args.get("ignore_pending"))
ignore_pending = request.args.get("ignore_pending") is not None

users = (
Users
Expand Down

0 comments on commit a55dfab

Please sign in to comment.