This commit is contained in:
CocoByte 2024-09-18 23:08:39 -06:00
parent 89787fc978
commit 9b2b26a3e0
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 1 additions and 4 deletions

View file

@ -103,6 +103,4 @@ def portfolio_permissions(request):
def is_widescreen_mode(request):
widescreen_paths = ["/domains/", "/requests/"]
return {
"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"
}
return {"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"}