Fix account dashboard sync rendering
This commit is contained in:
+7
-4
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user