Skip to content

Commit 162489e

Browse files
committed
Fix #5261
1 parent 875ee2e commit 162489e

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

src/shared/actions/recruitCRM.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ function normalizeRecruitPayload(job, payload) {
6060
`Date Available: ${new Date(payload.availFrom).toDateString()}`,
6161
`Heard About Gig: ${payload.reffereal}`,
6262
`Why fit: ${payload.whyFit}`,
63-
`Availability Per Week: ${payload.timeAvailability.filter(s => s.checked).map(s => s.label).join(',')}`,
6463
`Able to work during timezone? ${payload.timezoneConfirm.filter(s => s.value).map(s => s.label).join(',')}`,
6564
`Am I ok to work the duration? ${payload.durationConfirm.filter(s => s.value).map(s => s.label).join(',')}`,
6665
`Notes: ${payload.notes}`,

src/shared/components/Gigs/GigApply/index.jsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -224,24 +224,6 @@ export default function GigApply(props) {
224224
errorMsg={formErrors.whyFit}
225225
value={formData.whyFit}
226226
/>
227-
<p>What is your availability per week?</p>
228-
<div styleName="checkboxes-row">
229-
{
230-
_.map(formData.timeAvailability, (cbox, indx) => (
231-
<div styleName="checkbox" key={`cbox-${indx}`}>
232-
<Checkbox
233-
onChange={(val) => {
234-
formData.timeAvailability[indx].checked = val;
235-
onFormInputChange('timeAvailability', formData.timeAvailability);
236-
}}
237-
checked={formData.timeAvailability[indx].checked}
238-
size="lg"
239-
/>
240-
<span styleName="label">{cbox.label}</span>
241-
</div>
242-
))
243-
}
244-
</div>
245227
<p>Are you able to work during the specified timezone? (<strong>{`${getCustomField(job.custom_fields, 'Timezone')}`}</strong>)</p>
246228
<RadioButton
247229
onChange={val => onFormInputChange('timezoneConfirm', val)}

src/shared/containers/Gigs/RecruitCRMJobApply.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ class RecruitCRMJobApplyContainer extends React.Component {
2525
skills: _.map(techSkills, label => ({ label, selected: false })),
2626
durationConfirm: [{ label: 'Yes', value: false }, { label: 'No', value: false }],
2727
timezoneConfirm: [{ label: 'Yes', value: false }, { label: 'No', value: false }],
28-
timeAvailability: [
29-
{ label: '10 hours', checked: false }, { label: '20 hours', checked: false }, { label: '30 hours', checked: false }, { label: '40 hours', checked: false },
30-
],
3128
agreedTerms: false,
3229
country: _.map(countries.getNames('en'), val => ({ label: val, selected: false })),
3330
// eslint-disable-next-line react/destructuring-assignment

0 commit comments

Comments
 (0)