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')) ...@@ -154,7 +154,6 @@ const isDark = ref(document.documentElement.classList.contains('dark'))
const siteName = computed(() => appStore.siteName) const siteName = computed(() => appStore.siteName)
const siteLogo = computed(() => appStore.siteLogo) const siteLogo = computed(() => appStore.siteLogo)
const siteVersion = computed(() => appStore.siteVersion) const siteVersion = computed(() => appStore.siteVersion)
const simpleMode = computed(() => appStore.simpleMode)
// SVG Icon Components // SVG Icon Components
const DashboardIcon = { const DashboardIcon = {
......
...@@ -61,7 +61,7 @@ export interface PublicSettings { ...@@ -61,7 +61,7 @@ export interface PublicSettings {
export interface AuthResponse { export interface AuthResponse {
access_token: string access_token: string
token_type: string token_type: string
user: User user: User & { run_mode?: 'standard' | 'simple' }
} }
export interface CurrentUserResponse extends User { 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