Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10865 Rev 10870
Línea 76... Línea 76...
76
						style: 'error',
76
						style: 'error',
77
						msg: 'Ha ocurrido un error'
77
						msg: 'Ha ocurrido un error'
78
					}))
78
					}))
79
				}
79
				}
Línea -... Línea 80...
-
 
80
 
80
 
81
				history.goBack()
81
				dispatch(addNotification({
82
				dispatch(addNotification({
82
					style: 'success',
83
					style: 'success',
83
					msg: `Registro ${action === 'edit' ? 'actualizado' : 'añadido'}`
84
					msg: `Registro ${action === 'edit' ? 'actualizado' : 'añadido'}`
84
				}))
85
				}))
Línea 96... Línea 97...
96
							style: 'error',
97
							style: 'error',
97
							msg: 'Ha ocurrido un error'
98
							msg: 'Ha ocurrido un error'
98
						}))
99
						}))
99
					}
100
					}
Línea -... Línea 101...
-
 
101
 
-
 
102
					resData.interview.content.map((behavior) => {
-
 
103
						setValue(`${behavior.competency_uuid}_${behavior.uuid}-comment`, behavior.comment)
-
 
104
						setValue(`${behavior.competency_uuid}_${behavior.uuid}-points`, behavior.evaluation)
100
 
105
					})
101
					setValue('comment', resData.interview.comment)
106
					setValue('comment', resData.interview.comment)
102
					setValue('points', resData.interview.points)
107
					setValue('points', resData.interview.points)
103
					setValue('status', resData.interview.status)
108
					setValue('status', resData.interview.status)
104
					setCompetencies(resData.job_description.competencies)
109
					setCompetencies(resData.job_description.competencies)