From a1b836b3922c810cd37f4d33af654ef38736694b Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 17 Dec 2025 16:14:02 -0800 Subject: [PATCH] fixes export --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ed4f12a..43d1b4f 100644 --- a/app.py +++ b/app.py @@ -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