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

@@ -130,7 +130,7 @@ class Login extends Shadow {
if (res.ok) {
const { token } = await res.json();
await Preferences.set({ key: 'auth_token', value: token });
global.onLogin();
global.renderHome();
} else {
const { error } = await res.json();
this.errorMessage = error;