fixes
This commit is contained in:
4
app.py
4
app.py
@@ -175,6 +175,7 @@ def session_login():
|
||||
if user_profile.get("password_reset_required"):
|
||||
return jsonify({"requires_password_reset": True})
|
||||
|
||||
print(f"logged in as {uid} - user_profile.email")
|
||||
return jsonify({"ok": True})
|
||||
except Exception as e:
|
||||
print("[ERR] session_login:", e)
|
||||
@@ -270,9 +271,6 @@ def dashboard(page=1):
|
||||
# Read only the current page from Firestore using limit() and offset()
|
||||
import time
|
||||
print(f"Retrieved {len(paginated_rows)} projects from Firestore")
|
||||
from pprint import pprint
|
||||
pprint([p['property_contacts'] for p in paginated_rows if p['property_contacts'].get('propertyManager1', None)])
|
||||
pprint([p['ProjectId'] for p in paginated_rows ])
|
||||
# Render table with pagination data
|
||||
return render_template("dashboard.html",
|
||||
rows=paginated_rows,
|
||||
|
||||
Reference in New Issue
Block a user