Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 14838 | Rev 15103 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 14838 Rev 15090
Línea 28... Línea 28...
28
	const [inputErrors, setInputErrors] = useState({})
28
	const [inputErrors, setInputErrors] = useState({})
29
	const [location, setLocation] = useState({})
29
	const [location, setLocation] = useState({})
30
	const [isActive, setIsActive] = useState(false)
30
	const [isActive, setIsActive] = useState(false)
31
	const [year, setYear] = useState(Date.now())
31
	const [year, setYear] = useState(Date.now())
32
	const [locationLabel, setLocationLabel] = useState('')
32
	const [locationLabel, setLocationLabel] = useState('')
33
	const [jobsDescriptions, setJobsDescriptions] = useState([
33
	const [jobsDescriptions, setJobsDescriptions] = useState([])
34
		{
-
 
35
			value: '8ff86a9a-651c-4dd0-86c1-b9c0716d09e0',
-
 
36
			label: 'Programador Junior'
-
 
37
		}
-
 
38
	])
-
 
39
	const [jobsCategory, setJobsCategory] = useState([
34
	const [jobsCategory, setJobsCategory] = useState([])
40
		{
-
 
41
			value: '7bd009b8-bd25-4602-bf85-9496af80afbd',
-
 
42
			label: 'Finanzas'
-
 
43
		}
-
 
44
	])
-
 
45
	const [industry, setIndustry] = useState([
35
	const [industry, setIndustry] = useState([])
46
		{
-
 
47
			value: '307c261f-2d27-4b3c-a86a-6f69a596edb8',
-
 
48
			label: 'Bienes raíces'
-
 
49
		}
-
 
50
	])
-
 
Línea 51... Línea 36...
51
 
36
 
Línea 52... Línea 37...
52
 
37
 
Línea 151... Línea 136...
151
							setJobsDescriptions(prev => [...prev, { value: value, label: label }])
136
							setJobsDescriptions(prev => [...prev, { value: value, label: label }])
152
						})
137
						})
Línea 153... Línea 138...
153
 
138
 
154
						setValue('name', respData.name)
139
						setValue('name', respData.name)
-
 
140
						setValue('description', respData.description)
-
 
141
						
-
 
142
						setValue('job_description_id', respData.job_description.current_description.description_id);
-
 
143
						setValue('job_category_id', respData.job_category.current_category.job_category_id);
-
 
144
						setValue('industry_id', respData.industry.current_industry.industry_id);
-
 
145
 
Línea 155... Línea 146...
155
						setValue('description', respData.description)
146
 
156
 
147
 
157
					}
148
					}
158
				})
149
				})