Commit 1f5ced70 authored by shaw's avatar shaw
Browse files

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

- Remove unused simpleMode variable in AppSidebar.vue
- Add run_mode to AuthResponse.user type definition
parent 2a708704
......@@ -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 = {
......
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment