diff --git a/web/src/features/system-settings/models/channel-selector-dialog.tsx b/web/src/features/system-settings/models/channel-selector-dialog.tsx index e8b4d2331ae7..63cbd232ebf4 100644 --- a/web/src/features/system-settings/models/channel-selector-dialog.tsx +++ b/web/src/features/system-settings/models/channel-selector-dialog.tsx @@ -31,14 +31,6 @@ import { StatusBadge } from '@/components/status-badge' import { Button } from '@/components/ui/button' import { Checkbox } from '@/components/ui/checkbox' import { Input } from '@/components/ui/input' -import { - Select, - SelectContent, - SelectGroup, - SelectItem, - SelectTrigger, - SelectValue, -} from '@/components/ui/select' import type { UpstreamChannel } from '../types' import { @@ -235,27 +227,18 @@ export function ChannelSelectorDialog({ return (
- v !== null && handleTypeChange(v)} + onChange={(e) => handleTypeChange(e.target.value)} + aria-label={t('Sync Endpoint')} > - - - - - - {ENDPOINT_OPTIONS.map((option) => ( - - {option.label} - - ))} - - - + {ENDPOINT_OPTIONS.map((option) => ( + + ))} + {endpointType === 'custom' && (
- + {channelDialogOpen ? ( + + ) : null}