Skip to content

Commit

Permalink
add kadoa option to job board
Browse files Browse the repository at this point in the history
  • Loading branch information
smallbrownbike committed Jan 25, 2025
1 parent e5e0bae commit d95d90f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/pages/cool-tech-jobs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,11 @@ const CompanyForm = ({ onSuccess, companyId }: { onSuccess?: () => void; company
<div>
<Select
className="!p-0"
options={[...supportedJobBoardTypes, { value: 'other', label: 'Other' }]}
options={[
...supportedJobBoardTypes,
{ value: 'kadoa', label: 'Kadoa' },
{ value: 'other', label: 'Other' },
]}
value={values.jobBoardType}
onChange={(value) => setFieldValue('jobBoardType', value)}
placeholder="Job board type"
Expand Down Expand Up @@ -851,6 +855,16 @@ const CompanyForm = ({ onSuccess, companyId }: { onSuccess?: () => void; company
className="mt-2"
/>
)}
{values.jobBoardType === 'kadoa' && (
<Input
label="Kadoa endpoint URL"
placeholder="https://api.kadoa.com/v4/workflows/123456789/data"
{...getFieldProps('jobBoardURL')}
error={errors.jobBoardURL}
touched={touched.jobBoardURL}
className="mt-2"
/>
)}
</div>

<Input
Expand Down

0 comments on commit d95d90f

Please sign in to comment.