diff --git a/apps/web/src/components/layout/app-shell.tsx b/apps/web/src/components/layout/app-shell.tsx index 479737a..9d8a67f 100644 --- a/apps/web/src/components/layout/app-shell.tsx +++ b/apps/web/src/components/layout/app-shell.tsx @@ -8,7 +8,6 @@ import { Settings, BookText, KeyRound, - ServerCog, Search, } from 'lucide-react' @@ -97,8 +96,7 @@ const NAV_GROUPS: NavGroup[] = [ label: 'Система', items: [ { to: '/access', label: 'Доступ', icon: KeyRound, description: 'API-ключи' }, - { to: '/tenant-settings', label: 'Настройки BIRD', icon: ServerCog, description: 'Tenant BIRD config' }, - { to: '/settings', label: 'Настройки UI', icon: Settings, description: 'Токен и подключение', search: { tab: 'connection' } }, + { to: '/settings', label: 'Настройки', icon: Settings, description: 'UI и BIRD', search: { tab: 'ui' } }, ], }, ] diff --git a/apps/web/src/components/layout/apps-menu.tsx b/apps/web/src/components/layout/apps-menu.tsx index 5ca8fab..2d66389 100644 --- a/apps/web/src/components/layout/apps-menu.tsx +++ b/apps/web/src/components/layout/apps-menu.tsx @@ -91,7 +91,7 @@ export function AppsMenu() { ) : ( } + render={} className="justify-center text-sm font-medium" > Настройки diff --git a/apps/web/src/components/layout/nav-user.tsx b/apps/web/src/components/layout/nav-user.tsx index 3b6e642..ee8c22c 100644 --- a/apps/web/src/components/layout/nav-user.tsx +++ b/apps/web/src/components/layout/nav-user.tsx @@ -136,7 +136,7 @@ export function NavUser() { setApiToken(null) if (typeof window !== 'undefined') { window.localStorage.removeItem(TOKEN_STORAGE_KEY) - window.location.assign('/settings?tab=connection&reason=token-required') + window.location.assign('/settings?tab=ui&reason=token-required') } } @@ -190,10 +190,10 @@ export function NavUser() { } + render={} > - Настройки UI + Настройки {authOn ? (