Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11555 Rev 11659
Línea 5... Línea 5...
5
import axios from 'axios'
5
import axios from 'axios'
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 ContentTitle from '../../../shared/ContentTitle'
8
import ContentTitle from '../../../shared/ContentTitle'
9
import DeleteModal from '../../../shared/DeleteModal'
9
import DeleteModal from '../../../shared/DeleteModal'
-
 
10
import EditAndAddModal from '../components/EditAndAddModal'
Línea 10... Línea 11...
10
 
11
 
11
const headers = [
12
const headers = [
12
	{ key: 'title', label: 'Nombre', isSorteable: true },
13
	{ key: 'title', label: 'Nombre', isSorteable: true },
13
	{ key: 'description', label: 'Descripción', isSorteable: true },
14
	{ key: 'description', label: 'Descripción', isSorteable: true },
Línea 227... Línea 228...
227
							</Card>
228
							</Card>
228
						</div>
229
						</div>
229
					</div >
230
					</div >
230
				</div >
231
				</div >
231
			</section >
232
			</section >
-
 
233
			<EditAndAddModal
-
 
234
				action_link={actionLink}
-
 
235
				type={modalToShow}
-
 
236
				closeModal={() => setModalToShow('')}
-
 
237
				onComplete={() => getData({
-
 
238
					url: table_link,
-
 
239
					params: {
-
 
240
						search: search,
-
 
241
						length: dataLength,
-
 
242
						page: pages.current
-
 
243
					}
-
 
244
				})}
-
 
245
			/>
232
			<DeleteModal
246
			<DeleteModal
233
				url={actionLink}
247
				url={actionLink}
234
				isOpen={modalToShow === 'delete'}
248
				isOpen={modalToShow === 'delete'}
235
				closeModal={() => setModalToShow('')}
249
				closeModal={() => setModalToShow('')}
236
				title="Esta seguro de borrar esta meta?"
250
				title="Esta seguro de borrar esta meta?"