fixes export
This commit is contained in:
2
app.py
2
app.py
@@ -245,7 +245,7 @@ def dashboard_export_xls():
|
|||||||
|
|
||||||
is_admin = profile.get("is_admin")
|
is_admin = profile.get("is_admin")
|
||||||
case_email = None
|
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"))
|
return redirect(url_for("welcome"))
|
||||||
|
|
||||||
# Get all projects without pagination
|
# Get all projects without pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user