Harden account import/continuous behavior and finish multi-account UI polish

This commit is contained in:
2026-06-27 21:26:18 +02:00
parent 59cdad220a
commit 881e7ddfca
8 changed files with 572 additions and 35 deletions
+7 -1
View File
@@ -35,7 +35,13 @@ def health_payload(
"path": str(session_file),
},
}
checks["accounts"] = account_checks
checks["accounts"] = {
"ok": all(
item.get("data_dir", {}).get("ok", False)
for item in account_checks.values()
),
"items": account_checks,
}
ok = all(item.get("ok", False) for item in checks.values())
return {"ok": ok, "status": "ok" if ok else "degraded", "checks": checks}