From 425e7e995b9198beddc6e58009019ea34bccfee3 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:20:55 -0700 Subject: [PATCH] fix test --- src/registrar/context_processors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/registrar/context_processors.py b/src/registrar/context_processors.py index 32022aa34..10a4fcb89 100644 --- a/src/registrar/context_processors.py +++ b/src/registrar/context_processors.py @@ -109,6 +109,7 @@ def is_widescreen_mode(request): ] is_widescreen = any(path in request.path for path in widescreen_paths) or request.path == "/" is_portfolio_widescreen = bool( + hasattr(request.user, "is_org_user") and request.user.is_org_user(request) and any(path in request.path for path in portfolio_widescreen_paths) )