This commit is contained in:
CocoByte 2024-09-05 21:46:38 -06:00
parent 15fc5bf0e9
commit 40d6423bb6
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -96,6 +96,9 @@ def portfolio_permissions(request):
"has_organization_feature_flag": False, "has_organization_feature_flag": False,
} }
def is_widescreen_mode(request): def is_widescreen_mode(request):
widescreen_paths = ["/domains/", "/requests/"] widescreen_paths = ["/domains/", "/requests/"]
return {"is_widescreen_mode": any(path in request.path for path in widescreen_paths)} #any(path in request.path for path in widescreen_paths) return {
"is_widescreen_mode": any(path in request.path for path in widescreen_paths)
} # any(path in request.path for path in widescreen_paths)