Skip to content

Commit 38c9622

Browse files
authored
Merge pull request #1211 from NHSDigital/mb-fix-header-home-active
Set mammograms/ and participants/ active nav component
2 parents 0bc6675 + 4c45866 commit 38c9622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manage_breast_screening/core/context_processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def nav_active(request):
2-
if request.path.startswith("/clinics/"):
2+
if request.path.startswith(("/clinics/", "/mammograms/", "/participants/")):
33
active = "clinics"
44
else:
55
active = "home"

0 commit comments

Comments
 (0)