Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10836 Rev 10840
Línea 15... Línea 15...
15
	{ key: 'vacancy', label: 'Vacantes', isSorteable: true },
15
	{ key: 'vacancy', label: 'Vacantes', isSorteable: true },
16
	{ key: 'points', label: 'Evaluación', isSorteable: true },
16
	{ key: 'points', label: 'Evaluación', isSorteable: true },
17
	{ key: 'actions', label: 'Acciones', isSorteable: false }
17
	{ key: 'actions', label: 'Acciones', isSorteable: false }
18
]
18
]
Línea 19... Línea 19...
19
 
19
 
Línea 20... Línea 20...
20
const TableView = ({ table_link, permisions, vacancies, setActionLink, actionLink }) => {
20
const TableView = ({ table_link, permisions, vacancies, setActionLink, add_link }) => {
21
 
21
 
22
	const history = useHistory()
22
	const history = useHistory()
23
	const { url } = useRouteMatch()
23
	const { url } = useRouteMatch()
Línea 70... Línea 70...
70
			}
70
			}
71
		})
71
		})
72
	}, [search, dataLength, pages.current, currentVacancy])
72
	}, [search, dataLength, pages.current, currentVacancy])
Línea 73... Línea 73...
73
 
73
 
74
	useEffect(() => {
-
 
75
 
74
	useEffect(() => {
Línea 76... Línea 75...
76
		setActionLink(actionLink.replace('UUID_PLACEHOLDER', currentVacancy))
75
		setActionLink(add_link.replace('UUID_PLACEHOLDER', currentVacancy))
Línea 77... Línea 76...
77
 
76
 
78
	}, [currentVacancy])
77
	}, [currentVacancy])