Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 12495 Rev 12528
Línea 3... Línea 3...
3
import { Card } from 'react-bootstrap'
3
import { Card } from 'react-bootstrap'
4
import { useDispatch } from 'react-redux'
4
import { useDispatch } from 'react-redux'
5
import { useHistory } from 'react-router-dom'
5
import { useHistory } from 'react-router-dom'
6
import { LengthFilter, SearchInput, Table, TablePagination } from '../../../recruitment_and_selection/components/TableComponents'
6
import { LengthFilter, SearchInput, Table, TablePagination } from '../../../recruitment_and_selection/components/TableComponents'
7
import { addNotification } from '../../../redux/notification/notification.actions'
7
import { addNotification } from '../../../redux/notification/notification.actions'
-
 
8
import parse from 'html-react-parser'
8
import DeleteModal from '../../../shared/DeleteModal'
9
import DeleteModal from '../../../shared/DeleteModal'
Línea 9... Línea 10...
9
 
10
 
10
const headers = [
11
const headers = [
11
	{ key: 'name', label: 'Nombre', isSorteable: true },
12
	{ key: 'name', label: 'Nombre', isSorteable: true },
Línea 133... Línea 134...
133
												items.length > 0
134
												items.length > 0
134
												&&
135
												&&
135
												items.map((item, index) => (
136
												items.map((item, index) => (
136
													<tr key={index}>
137
													<tr key={index}>
137
														<td>{item.name}</td>
138
														<td>{item.name}</td>
138
														<td>{item.description}</td>
139
														<td>{parse(item.description)}</td>
139
														<td>
140
														<td>
140
															{
141
															{
141
																item.status === 'A'
142
																item.status === 'A'
142
																	? 'Activo'
143
																	? 'Activo'
143
																	: 'Inactivo'
144
																	: 'Inactivo'