@@ -17,6 +17,7 @@ import {
1717 Home ,
1818 Info ,
1919 KeyRound ,
20+ KeySquare ,
2021 Languages ,
2122 LayoutDashboard ,
2223 Mail ,
@@ -41,6 +42,7 @@ import {
4142import { useTranslation } from 'react-i18next'
4243import { cn } from '@/shared/lib/utils'
4344import { useAuth } from '@/features/auth'
45+ import { IS_FEDERATION } from '@/shared/config/mode'
4446
4547type LeafItem = {
4648 to : string
@@ -135,6 +137,9 @@ const settingsItems: { to: string; label: string; icon: LucideIcon }[] = [
135137 { to : '/settings/data-retention' , label : 'settings.dataRetention' , icon : HardDriveDownload } ,
136138 { to : '/settings/indices' , label : 'settings.indices' , icon : Boxes } ,
137139 { to : '/settings/branding' , label : 'settings.branding' , icon : Palette } ,
140+ ...( ! IS_FEDERATION
141+ ? [ { to : '/settings/api-keys' , label : 'settings.apiKeys' , icon : KeySquare } ]
142+ : [ ] ) ,
138143 { to : '/settings/identity-providers' , label : 'settings.identityProviders' , icon : ShieldCheck } ,
139144 { to : '/settings/email' , label : 'settings.email' , icon : Mail } ,
140145 { to : '/settings/soc-ai' , label : 'settings.socAi' , icon : Bot } ,
0 commit comments