File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/shared/components/Gigs/GigApply Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export default function GigApply(props) {
2727 recruitProfile,
2828 } = props ;
2929 const retUrl = window . location . href ;
30+ const duration = getCustomField ( job . custom_fields , 'Duration' ) ;
3031
3132 return user ? (
3233 < div styleName = "container" >
@@ -248,7 +249,7 @@ export default function GigApply(props) {
248249 size = "lg"
249250 />
250251 < div styleName = "last-input" >
251- < p > Are you ok to work with the duration of the gig? (< strong > { ` ${ getCustomField ( job . custom_fields , 'Duration' ) } ` } </ strong > ) *</ p >
252+ < p > Are you ok to work with the duration of the gig? (< strong > { / ^ \d + $ / . test ( duration ) ? ` ${ duration } Weeks` : duration } </ strong > ) *</ p >
252253 < RadioButton
253254 onChange = { val => onFormInputChange ( 'durationConfirm' , val ) }
254255 errorMsg = { formErrors . durationConfirm }
You can’t perform that action at this time.
0 commit comments