Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from "react";import { connect } from "react-redux";import Category from "./category/Category";import Degrees from "./degrees/Degrees";import EmploymentType from "./employment-type/EmploymentType";import Experience from "./experience/Experience";import Languages from "./languages/Languages";import LastDateOfApplication from "./last-date-of-application/LastDateOfApplication";import Location from "./location/Location";import Overview from "./overview/Overview";import Salary from "./salary/Salary";import Skills from "./skills/Skills";const Edit = (props) => {// reduxDestructuringconst { addNotification } = props;// backendVars destructuringconst {companyId,jobId,jobTitle,overview,lastDateOfApplication,employmentType,employmentTypes,location,experience,salary,currencies,jobCategory,jobCategories,jobSkills,skillsOptions,jobLanguages,languageOptions,jobDegrees,degreeOptions,} = props.backendVars;return (<main><div className="main-section"><div className="container"><div className="main-section-data"><div className="row"><div className="col-xl-12 col-lg-12 col-md-12"><div className="main-ws-sec"><div className="user-tab-sec"><h3>{jobTitle}</h3></div><Overviewoverview={overview}companyId={companyId}addNotification={addNotification}jobId={jobId}/>{/* <!--user-profile-ov end--> */}<LastDateOfApplicationcompanyId={companyId}jobId={jobId}addNotification={addNotification}lastDateOfApplication={lastDateOfApplication}/>{/* <!--user-profile-ov end--> */}<EmploymentTypecompanyId={companyId}jobId={jobId}addNotification={addNotification}employmentType={employmentType}employmentTypes={employmentTypes}/>{/* <!--user-profile-ov end--> */}<LocationformattedAddress={location}companyId={companyId}jobId={jobId}addNotification={addNotification}/>{/* <!--user-profile-ov end--> */}<ExperiencecompanyId={companyId}jobId={jobId}addNotification={addNotification}experience={experience}/>{/* <!--user-profile-ov end--> */}<SalarycompanyId={companyId}jobId={jobId}addNotification={addNotification}salary={salary}currencies={currencies}/>{/* <!--user-profile-ov end--> */}<CategorycompanyId={companyId}jobId={jobId}addNotification={addNotification}jobCategory={jobCategory}jobCategories={jobCategories}/>{/* <!--user-profile-ov end--> */}<SkillscompanyId={companyId}jobId={jobId}addNotification={addNotification}jobSkills={jobSkills}skillsOptions={skillsOptions}/>{/* <!--user-profile-ov end --> */}<LanguagescompanyId={companyId}jobId={jobId}addNotification={addNotification}jobLanguages={jobLanguages}languageOptions={languageOptions}/>{/* <!--user-profile-ov end --> */}<DegreescompanyId={companyId}jobId={jobId}addNotification={addNotification}jobDegrees={jobDegrees}degreeOptions={degreeOptions}/></div></div></div></div></div></div></main>);};const mapDispatchToProps = {addNotification: (notification) => addNotification(notification),};export default connect(null, mapDispatchToProps)(Edit);