bugfix: set errored_courses in default case
This commit is contained in:
@@ -143,6 +143,7 @@ def dashboard(request):
|
||||
|
||||
# Global staff can see what courses errored on their dashboard
|
||||
staff_access = False
|
||||
errored_courses = []
|
||||
if has_access(user, 'global', 'staff'):
|
||||
# Show any courses that errored on load
|
||||
staff_access = True
|
||||
|
||||
Reference in New Issue
Block a user