fixes export

This commit is contained in:
2025-12-17 16:14:02 -08:00
parent 234578b646
commit a1b836b392

2
app.py
View File

@@ -245,7 +245,7 @@ def dashboard_export_xls():
is_admin = profile.get("is_admin")
case_email = None
if not is_admin and not profile.get('case_email'):
if not is_admin and (not profile.get('case_email') and not profile.get('case_domain_email')):
return redirect(url_for("welcome"))
# Get all projects without pagination