This commit is contained in:
zandercymatics 2024-11-12 15:20:55 -07:00
parent 7089977c16
commit 425e7e995b
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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)
)