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
|
# Global staff can see what courses errored on their dashboard
|
||||||
staff_access = False
|
staff_access = False
|
||||||
|
errored_courses = []
|
||||||
if has_access(user, 'global', 'staff'):
|
if has_access(user, 'global', 'staff'):
|
||||||
# Show any courses that errored on load
|
# Show any courses that errored on load
|
||||||
staff_access = True
|
staff_access = True
|
||||||
|
|||||||
Reference in New Issue
Block a user