diff --git a/web/app/flows/onboarding/SourcePicker.tsx b/web/app/flows/onboarding/SourcePicker.tsx index 4a13946..9ddf1fa 100644 --- a/web/app/flows/onboarding/SourcePicker.tsx +++ b/web/app/flows/onboarding/SourcePicker.tsx @@ -63,10 +63,17 @@ export function SourcePicker({ draft, onChange, onTrack }: { draft: FactoryDraft
{source.fields.map(field =>
- update({ [field.key]: event.target.value })} - aria-describedby={field.key === 'labels' ? 'source-labels-help' : undefined} /> - {field.key === 'labels' && Separate with commas. Every label must match.} + {'options' in field + ? + : <> + update({ [field.key]: event.target.value })} + aria-describedby={field.key === 'labels' ? 'source-labels-help' : undefined} /> + {field.key === 'labels' && Separate with commas. Every label must match.} + }
)}
{source.id === 'slack' &&