paperwork: Fix typo in dashboard
This commit is contained in:
parent
e10bcd5b49
commit
d3215a6588
@ -24,7 +24,8 @@ class PaperworkDashboardFragment(dashboard.DashboardFragment):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if self.request.user.is_superuser or (
|
if self.request.user.is_superuser or (
|
||||||
member is not None and Department.filter_by_shop_lead(member).exists()
|
member is not None
|
||||||
|
and Department.objects.filter_by_shop_lead(member).exists()
|
||||||
):
|
):
|
||||||
links["Department Certifications"] = reverse(
|
links["Department Certifications"] = reverse(
|
||||||
"paperwork:department_certifications"
|
"paperwork:department_certifications"
|
||||||
|
Loading…
Reference in New Issue
Block a user