Skip to content
Snippets Groups Projects
Commit ccf2cff2 authored by Victor Shnayder's avatar Victor Shnayder
Browse files

bugfix: set errored_courses in default case

parent b97a2af2
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment