diff --git a/frontend/src/components/settings/NotificationRoutingSection.tsx b/frontend/src/components/settings/NotificationRoutingSection.tsx index 87e6f423..a7135300 100644 --- a/frontend/src/components/settings/NotificationRoutingSection.tsx +++ b/frontend/src/components/settings/NotificationRoutingSection.tsx @@ -297,7 +297,7 @@ export function NotificationRoutingSection() { ); return ( - +
{ resetForm(); setShowForm(true); }}> diff --git a/frontend/src/components/settings/__tests__/registry.test.ts b/frontend/src/components/settings/__tests__/registry.test.ts index d2fa6e65..58484312 100644 --- a/frontend/src/components/settings/__tests__/registry.test.ts +++ b/frontend/src/components/settings/__tests__/registry.test.ts @@ -81,7 +81,7 @@ describe('settings registry', () => { it('applies the renamed section labels', () => { const byId = new Map(SETTINGS_ITEMS.map(i => [i.id, i])); expect(byId.get('notifications')?.label).toBe('Channels'); - expect(byId.get('notification-routing')?.label).toBe('Notification Routing'); + expect(byId.get('notification-routing')?.label).toBe('Routing'); }); it('no longer registers the standalone Vulnerability Scanning section (moved to the Security page)', () => { diff --git a/frontend/src/components/settings/registry.ts b/frontend/src/components/settings/registry.ts index 7843ab45..ce85516b 100644 --- a/frontend/src/components/settings/registry.ts +++ b/frontend/src/components/settings/registry.ts @@ -212,7 +212,7 @@ export const SETTINGS_ITEMS: readonly SettingsItemMeta[] = [ { id: 'notification-routing', group: 'notifications', - label: 'Notification Routing', + label: 'Routing', description: 'Rules that steer alerts to the right channel based on severity or label.', keywords: ['rules', 'routing', 'channels', 'severity', 'labels'], tier: null,