diff --git a/frontend-modern/src/components/Settings/HostAgents.tsx b/frontend-modern/src/components/Settings/HostAgents.tsx index 0659b0e..80f5898 100644 --- a/frontend-modern/src/components/Settings/HostAgents.tsx +++ b/frontend-modern/src/components/Settings/HostAgents.tsx @@ -11,6 +11,7 @@ import { HOST_AGENT_SCOPE } from '@/constants/apiScopes'; import type { SecurityStatus } from '@/types/config'; import type { APITokenRecord } from '@/api/security'; import { useScopedTokenManager } from '@/hooks/useScopedTokenManager'; +import TerminalSquare from 'lucide-solid/icons/terminal-square'; type HostAgentVariant = 'all' | 'linux' | 'macos' | 'windows'; @@ -20,19 +21,12 @@ interface HostAgentsProps { type HostPlatform = 'linux' | 'macos' | 'windows'; -const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: JSX.Element }[] = [ +const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: typeof TerminalSquare | JSX.Element }[] = [ { id: 'linux', label: 'Linux', description: 'Download the static binary and enable the systemd service on Debian, Ubuntu, RHEL, Arch, and more.', - icon: ( - - - - - - - ), + icon: TerminalSquare, }, { id: 'macos', @@ -346,6 +340,7 @@ export const HostAgents: Component = (props) => { {(option) => { const isActive = () => selectedPlatform() === option.id; + const Icon = option.icon; return (