diff --git a/frontend/src/components/AppSidebar.vue b/frontend/src/components/AppSidebar.vue index b72da591..51857e6e 100644 --- a/frontend/src/components/AppSidebar.vue +++ b/frontend/src/components/AppSidebar.vue @@ -50,12 +50,12 @@ const prefix = props.basePath?.startsWith('/') ? props.basePath : `/${props.base // Labels are i18n-driven so the sidebar matches the locale picked // in panel settings without a page reload of the sidebar component. const tabs = computed(() => [ - { key: `${prefix}panel/`, icon: 'dashboard', title: t('menu.dashboard') }, - { key: `${prefix}panel/inbounds`, icon: 'user', title: t('menu.inbounds') }, - { key: `${prefix}panel/nodes`, icon: 'cluster', title: t('menu.nodes') }, - { key: `${prefix}panel/settings`, icon: 'setting', title: t('menu.settings') }, - { key: `${prefix}panel/xray`, icon: 'tool', title: t('menu.xray') }, - { key: `${prefix}logout`, icon: 'logout', title: t('logout') }, + { key: `${prefix}panel/`, icon: 'dashboard', title: t('menu.dashboard') }, + { key: `${prefix}panel/inbounds`, icon: 'user', title: t('menu.inbounds') }, + { key: `${prefix}panel/nodes`, icon: 'cluster', title: t('menu.nodes') }, + { key: `${prefix}panel/settings`, icon: 'setting', title: t('menu.settings') }, + { key: `${prefix}panel/xray`, icon: 'tool', title: t('menu.xray') }, + { key: `${prefix}logout`, icon: 'logout', title: t('logout') }, ]); const activeTab = ref([props.requestUri]); @@ -90,20 +90,9 @@ function closeDrawer() { diff --git a/frontend/src/pages/index/LogModal.vue b/frontend/src/pages/index/LogModal.vue index 8c1e9111..a385a919 100644 --- a/frontend/src/pages/index/LogModal.vue +++ b/frontend/src/pages/index/LogModal.vue @@ -89,8 +89,8 @@ const modalWidth = computed(() => (isMobile.value ? '100vw' : '800px'));