diff --git a/frontend-modern/src/components/Settings/HostAgents.tsx b/frontend-modern/src/components/Settings/HostAgents.tsx index 16883cda4..c8c06ebd8 100644 --- a/frontend-modern/src/components/Settings/HostAgents.tsx +++ b/frontend-modern/src/components/Settings/HostAgents.tsx @@ -12,8 +12,6 @@ import type { SecurityStatus } from '@/types/config'; import type { APITokenRecord } from '@/api/security'; import { useScopedTokenManager } from '@/hooks/useScopedTokenManager'; import Monitor from 'lucide-solid/icons/monitor'; -import Laptop from 'lucide-solid/icons/laptop'; -import Computer from 'lucide-solid/icons/computer'; type HostAgentVariant = 'all' | 'linux' | 'macos' | 'windows'; @@ -23,7 +21,7 @@ interface HostAgentsProps { type HostPlatform = 'linux' | 'macos' | 'windows'; -const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: typeof Monitor }[] = [ +const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: typeof Monitor | JSX.Element }[] = [ { id: 'linux', label: 'Linux', @@ -34,13 +32,21 @@ const hostPlatformOptions: { id: HostPlatform; label: string; description: strin id: 'macos', label: 'macOS', description: 'Use the universal binary with launchd to keep desktops and hosts reporting in the background.', - icon: Laptop, + icon: ( + + + + ), }, { id: 'windows', label: 'Windows', description: 'Native Windows service with automatic startup. PowerShell script handles binary download and service installation.', - icon: Computer, + icon: ( + + + + ), }, ]; @@ -334,7 +340,6 @@ export const HostAgents: Component = (props) => { {(option) => { const isActive = () => selectedPlatform() === option.id; - const Icon = option.icon; return (