Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15071 Rev 15072
Línea 105... Línea 105...
105
					return dispatch(addNotification({
105
					return dispatch(addNotification({
106
						style: 'danger',
106
						style: 'danger',
107
						msg: 'Ha ocurrido un error'
107
						msg: 'Ha ocurrido un error'
108
					}))
108
					}))
109
				}
109
				}
110
				setJobDescriptionOptions(data.data.jobs_description?.map(description => ({ uuid: description.job_description_id, name: description.name })))
110
				let options = data.data.jobs_description?.map(description => ({ uuid: description.job_description_id, name: description.name }))
111
				setCurretJobDescription(data.data.uuid)
111
				setJobDescriptionOptions([...options, { name: data.data.name, uuid: data.data.uuid }])
112
				setCompetenciesSelected(data.data.competencies_selected)
112
				setCompetenciesSelected(data.data.competencies_selected)
113
				setCompetencyTypes(data.data.competency_types)
113
				setCompetencyTypes(data.data.competency_types)
114
			})
114
			})
115
	}, [currentJobDescription])
115
	}, [currentJobDescription])