Sidebar fully functional

This commit is contained in:
metacryst
2026-03-21 03:10:50 -05:00
parent 1c6f12c210
commit 21b7b0a252
9 changed files with 129 additions and 84 deletions

View File

@@ -140,14 +140,8 @@ let Global = class {
}
}
async onLogin() {
if(!this.profile) {
await this.getProfile()
}
await this.Socket.init()
await this.onNavigate()
Home()
// navigateTo("/")
async renderHome() {
location.reload()
}
async onLogout() {
@@ -169,7 +163,9 @@ let Global = class {
} else if(status === 500) {
ConnectionError()
} else {
this.onLogin()
await this.Socket.init()
await this.onNavigate()
Home()
}
})
}