fix(frontend): resolve TypeScript errors in simple mode implementation

- Remove unused simpleMode variable in AppSidebar.vue
- Add run_mode to AuthResponse.user type definition
This commit is contained in:
shaw
2025-12-29 08:51:57 +08:00
parent 2a70870469
commit 1f5ced7069
2 changed files with 1 additions and 2 deletions

View File

@@ -154,7 +154,6 @@ const isDark = ref(document.documentElement.classList.contains('dark'))
const siteName = computed(() => appStore.siteName)
const siteLogo = computed(() => appStore.siteLogo)
const siteVersion = computed(() => appStore.siteVersion)
const simpleMode = computed(() => appStore.simpleMode)
// SVG Icon Components
const DashboardIcon = {

View File

@@ -61,7 +61,7 @@ export interface PublicSettings {
export interface AuthResponse {
access_token: string
token_type: string
user: User
user: User & { run_mode?: 'standard' | 'simple' }
}
export interface CurrentUserResponse extends User {