| Línea 1... |
Línea 1... |
| 1 |
import React, { useEffect, useState } from 'react'
|
1 |
import React, { useEffect, useState } from 'react'
|
| 2 |
import { Link } from 'react-router-dom'
|
- |
|
| 3 |
import { getData } from '../../helpers/fetchHelpers'
|
2 |
import { getData } from '../../helpers/fetchHelpers'
|
| 4 |
import EditItem from '../components/EditItem'
|
3 |
import EditItem from '../components/EditItem'
|
| 5 |
import CategoryModal from '../components/Modals/CategoryModal'
|
4 |
import CategoryModal from '../components/Modals/CategoryModal'
|
| 6 |
import DegreesModal from '../components/Modals/DegreesModal'
|
5 |
import DegreesModal from '../components/Modals/DegreesModal'
|
| 7 |
import EmploymentTypeModal from '../components/Modals/EmploymentTypeModal'
|
6 |
import EmploymentTypeModal from '../components/Modals/EmploymentTypeModal'
|
| Línea 13... |
Línea 12... |
| 13 |
import SalaryModal from '../components/Modals/SalaryModal'
|
12 |
import SalaryModal from '../components/Modals/SalaryModal'
|
| 14 |
import SkillsModal from '../components/Modals/SkillsModal'
|
13 |
import SkillsModal from '../components/Modals/SkillsModal'
|
| 15 |
import StatusModal from '../components/Modals/StatusModal'
|
14 |
import StatusModal from '../components/Modals/StatusModal'
|
| 16 |
import TitleModal from '../components/Modals/TitleModal'
|
15 |
import TitleModal from '../components/Modals/TitleModal'
|
| Línea 17... |
Línea 16... |
| 17 |
|
16 |
|
| Línea 18... |
Línea 17... |
| 18 |
const JobsEditView = ({ linkEdit, googleApi, labels }) => {
|
17 |
const JobsEditView = ({ linkEdit, googleApi, labels, setLinkEdit }) => {
|
| 19 |
|
18 |
|
| 20 |
const [modalToShow, setModalToShow] = useState(null)
|
19 |
const [modalToShow, setModalToShow] = useState(null)
|
| 21 |
const [itemsData, setItemsData] = useState({
|
20 |
const [itemsData, setItemsData] = useState({
|
| Línea 103... |
Línea 102... |
| 103 |
<>
|
102 |
<>
|
| 104 |
<section className="content-header">
|
103 |
<section className="content-header">
|
| 105 |
<div className="container-fluid">
|
104 |
<div className="container-fluid">
|
| 106 |
<div className="row mb-2">
|
105 |
<div className="row mb-2">
|
| 107 |
<div className="col-sm-12">
|
106 |
<div className="col-sm-12">
|
| 108 |
<Link to='/jobs' className='text-decoration-none text-body'>
|
107 |
<h1 onClick={() => setLinkEdit('')} className='text-decoration-none text-body'>
|
| 109 |
<h1>
|
- |
|
| 110 |
<i className='fa fa-angle-left fw-bold mr-2' />
|
108 |
<i className='fa fa-angle-left fw-bold mr-2' />
|
| 111 |
{labels.EDIT_JOB}
|
109 |
{labels.EDIT_JOB}
|
| 112 |
</h1>
|
110 |
</h1>
|
| 113 |
</Link>
|
- |
|
| 114 |
</div>
|
111 |
</div>
|
| 115 |
</div>
|
112 |
</div>
|
| 116 |
</div>
|
113 |
</div>
|
| 117 |
</section>
|
114 |
</section>
|
| 118 |
<section className="content">
|
115 |
<section className="content">
|