Fix: Bug Fixes - Added disabled logic RAPTOR scope #10703 (#11207)

### What problem does this PR solve?

Fix: Bug Fixes #10703

- Fixed the menu order in the user center
- Added a disabled RAPTOR scope
- Fixed some style issues

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-12 14:36:30 +08:00
committed by GitHub
parent 8406a5ea47
commit a81f6d1b24
6 changed files with 13 additions and 13 deletions

View File

@ -17,9 +17,11 @@ import { useEffect } from 'react';
import { useHandleMenuClick } from './hooks';
const menuItems = [
{ icon: User, label: t('setting.profile'), key: Routes.Profile },
{ icon: Users, label: t('setting.team'), key: Routes.Team },
{ icon: Server, label: t('setting.dataSources'), key: Routes.DataSource },
{ icon: Box, label: t('setting.model'), key: Routes.Model },
{ icon: Banknote, label: 'MCP', key: Routes.Mcp },
{ icon: Users, label: t('setting.team'), key: Routes.Team },
{ icon: User, label: t('setting.profile'), key: Routes.Profile },
{ icon: Unplug, label: t('setting.api'), key: Routes.Api },
// {
// icon: MessageSquareQuote,
@ -27,10 +29,8 @@ const menuItems = [
// key: Routes.Profile,
// },
// { icon: TextSearch, label: 'Retrieval Templates', key: Routes.Profile },
{ icon: Server, label: t('setting.dataSources'), key: Routes.DataSource },
// { icon: Cog, label: t('setting.system'), key: Routes.System },
// { icon: Banknote, label: 'Plan', key: Routes.Plan },
{ icon: Banknote, label: 'MCP', key: Routes.Mcp },
];
export function SideBar() {