Fix the Profile page rendering blank (SCR-1)
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m8s
CI / test (push) Successful in 5m4s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m8s
CI / test (push) Successful in 5m4s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
SOURCES was declared after the first render() call, so the page threw before drawing. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b388e7112d
commit
8a4880d5ec
1 file changed
+3
-3
@@ -6,15 +6,15 @@ import { signedInPage } from "./layout.js";
|
||||
const root = document.getElementById("avatar-panel");
|
||||
const messages = document.getElementById("messages");
|
||||
|
||||
let user = await signedInPage("account.html");
|
||||
render();
|
||||
|
||||
const SOURCES = {
|
||||
upload: "An image you uploaded.",
|
||||
gravatar: "Your Gravatar, copied to this server.",
|
||||
none: "You haven't set a profile image yet.",
|
||||
};
|
||||
|
||||
let user = await signedInPage("account.html");
|
||||
render();
|
||||
|
||||
function say(notice) {
|
||||
replace(messages, notice);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user