Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15316 Rev 15318
Línea 27... Línea 27...
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
					}
31
					if (key === 'actions') {
31
					if (key === 'actions') {
32
						return <td className='d-inline-flex' key={index} style={{ gap: '.5rem' }}>
32
						return <td className='d-flex' key={index} style={{ gap: '.5rem' }}>
33
							{Object.entries(value)
33
							{Object.entries(value)
34
								.map(([key, value]) => renderActions(key, value))}
34
								.map(([key, value]) => renderActions(key, value))}
35
						</td>
35
						</td>
36
					}
36
					}
37
					return <td key={index}>{value}</td>
37
					return <td key={index}>{value}</td>