Fix account dashboard sync rendering

This commit is contained in:
2026-06-11 20:49:48 -04:00
parent 8dc372b8a9
commit 699b177fe8
3 changed files with 69 additions and 26 deletions
+7 -4
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();
}
}
@@ -573,9 +576,9 @@
const title = document.querySelector("#account-title");
if (title) title.textContent = user.username;
renderAccountEmail(accountData);
updateAccountStatusBadges(accountData);
renderBBCard(accountData);
// Account dashboard cards are server-rendered and have dedicated account JS.
// Do not let the generic app bootstrap rewrite BB/status cards into stale layouts.
return;
}
async function boot() {