Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15318 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15318 Rev 15320
Línea 21... Línea 21...
21
 
21
 
22
	return (
22
	return (
23
		<tr>
23
		<tr>
24
			{Object.entries(item)
24
			{Object.entries(item)
25
				.map(([key, value], index) => {
25
				.map(([key, value], index) => {
26
					if (key === 'id') return null
26
					if (key === 'id' || key === 'uuid') return null
27
					if (key === 'status') {
27
					if (key === 'status') {
28
						let status = value === 'a' ? 'Activo' : 'Inactivo'
28
						let status = value === 'a' ? 'Activo' : 'Inactivo'
29
						return <td key={index}>{status}</td>
29
						return <td key={index}>{status}</td>
30
					}
30
					}