feature: profile settings moved to the sidebar

This commit is contained in:
Andy Burke 2025-09-15 12:02:03 -07:00
parent ce5cd81b10
commit b080e7ab8c
4 changed files with 173 additions and 291 deletions

View file

@ -147,6 +147,13 @@
window.addEventListener("locationchange", update_topics);
document.addEventListener( 'user_logged_in', update_topics );
document.addEventListener( 'user_logged_in', () => {
const user = document.body.dataset.user && JSON.parse( document.body.dataset.user );
if ( !user ) {
return;
}
});
/* check if we are logged in */
(async () => {
try {