admin-ui: align with API, add auth, fix integrations
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled

This commit is contained in:
DSS
2025-12-12 15:46:08 -03:00
parent ec09a0a662
commit d13e1cd76a
16 changed files with 1565 additions and 671 deletions

View File

@@ -7,7 +7,7 @@ export * from './team';
export * from './user';
import { loadProjects } from './project';
import { loadUserPreferences } from './user';
import { loadUserPreferences, refreshUser } from './user';
/**
* Initialize the application state
@@ -17,6 +17,9 @@ export async function initializeApp(): Promise<void> {
// Load user preferences from localStorage
loadUserPreferences();
// Restore session if token exists
await refreshUser();
// Load projects from API
await loadProjects();
}