Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11429 Rev 11436
Línea 6... Línea 6...
6
import { addNotification } from '../../../redux/notification/notification.actions'
6
import { addNotification } from '../../../redux/notification/notification.actions'
7
import ContentTitle from '../../../shared/ContentTitle'
7
import ContentTitle from '../../../shared/ContentTitle'
8
import { LengthFilter, SearchInput, Table, TablePagination } from '../../../recruitment_and_selection/components/TableComponents'
8
import { LengthFilter, SearchInput, Table, TablePagination } from '../../../recruitment_and_selection/components/TableComponents'
9
import DeleteModal from '../../../shared/DeleteModal'
9
import DeleteModal from '../../../shared/DeleteModal'
10
import { useHistory } from 'react-router-dom'
10
import { useHistory } from 'react-router-dom'
-
 
11
import EditAndAddModal from '../components/objetives_and_goals/EditAndAddModal'
Línea 11... Línea 12...
11
 
12
 
12
const headers = [
13
const headers = [
13
	{ key: 'title', label: 'Nombre', isSorteable: true },
14
	{ key: 'title', label: 'Nombre', isSorteable: true },
14
	{ key: 'description', label: 'Descripción', isSorteable: true },
15
	{ key: 'description', label: 'Descripción', isSorteable: true },
Línea 234... Línea 235...
234
							</Card>
235
							</Card>
235
						</div>
236
						</div>
236
					</div >
237
					</div >
237
				</div >
238
				</div >
238
			</section >
239
			</section >
-
 
240
			<EditAndAddModal
-
 
241
				type={modalToShow}
-
 
242
				closeModal={() => modalToShow('')}
-
 
243
				action_link={actionLink}
-
 
244
				isOpen={() => modalToShow === ('add' || 'edit')}
-
 
245
			/>
239
			<DeleteModal
246
			<DeleteModal
240
				url={actionLink}
247
				url={actionLink}
241
				isOpen={modalToShow === 'delete'}
248
				isOpen={modalToShow === 'delete'}
242
				closeModal={() => modalToShow('')}
249
				closeModal={() => modalToShow('')}
243
				title="Esta seguro de borrar este objetivo?"
250
				title="Esta seguro de borrar este objetivo?"