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