Fix account dashboard first-paint rendering

This commit is contained in:
2026-06-11 20:49:48 -04:00
parent 8dc372b8a9
commit 429228bf18
3 changed files with 70 additions and 27 deletions
+8 -2
View File
@@ -388,7 +388,10 @@
if (!hero || !title) return;
for (const p of Array.from(hero.querySelectorAll("p"))) {
if (p.textContent.includes("Manage your Blue Burst login")) {
if (
p.textContent.includes("Manage your Blue Burst login") ||
p.classList.contains("account-email-line")
) {
p.remove();
}
}
@@ -575,7 +578,10 @@
renderAccountEmail(accountData);
updateAccountStatusBadges(accountData);
renderBBCard(accountData);
// Account dashboard BB card is server-rendered.
// Do not let the generic app bootstrap rewrite it into a stale layout.
return;
}
async function boot() {