#134 - fix
This commit is contained in:
parent
8e00daf058
commit
135e7b097e
@ -29,7 +29,8 @@
|
|||||||
.flatpickr-day.endRange.prevMonthDay,
|
.flatpickr-day.endRange.prevMonthDay,
|
||||||
.flatpickr-day.selected.nextMonthDay,
|
.flatpickr-day.selected.nextMonthDay,
|
||||||
.flatpickr-day.startRange.nextMonthDay,
|
.flatpickr-day.startRange.nextMonthDay,
|
||||||
.flatpickr-day.endRange.nextMonthDay {
|
.flatpickr-day.endRange.nextMonthDay,
|
||||||
|
.flatpickr-monthSelect-month.selected {
|
||||||
background: #527ABA;
|
background: #527ABA;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -583,6 +583,7 @@ function addProject() {
|
|||||||
tasks: null,
|
tasks: null,
|
||||||
startDate: null,
|
startDate: null,
|
||||||
endDate: null,
|
endDate: null,
|
||||||
|
current: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -600,6 +601,7 @@ function addEducation() {
|
|||||||
fieldOfStudy: null,
|
fieldOfStudy: null,
|
||||||
startDate: null,
|
startDate: null,
|
||||||
endDate: null,
|
endDate: null,
|
||||||
|
current: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -621,7 +623,11 @@ function submitResume() {
|
|||||||
.transform((data) => ({
|
.transform((data) => ({
|
||||||
user: data.user?.id,
|
user: data.user?.id,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
education: data.educations,
|
education: data.educations.map(education => ({
|
||||||
|
...education,
|
||||||
|
current: !!education.current,
|
||||||
|
endDate: education.current ? null: education.endDate,
|
||||||
|
})),
|
||||||
languages: data.languages.map(language => ({
|
languages: data.languages.map(language => ({
|
||||||
name: language.name,
|
name: language.name,
|
||||||
level: language.level.level,
|
level: language.level.level,
|
||||||
@ -630,7 +636,11 @@ function submitResume() {
|
|||||||
name: technology.name,
|
name: technology.name,
|
||||||
level: technology.level.level,
|
level: technology.level.level,
|
||||||
})),
|
})),
|
||||||
projects: data.projects,
|
projects: data.projects.map(project => ({
|
||||||
|
...project,
|
||||||
|
current: !!project.current,
|
||||||
|
endDate: project.current ? null : project.endDate,
|
||||||
|
})),
|
||||||
}))
|
}))
|
||||||
.post('/resumes')
|
.post('/resumes')
|
||||||
}
|
}
|
||||||
|
@ -590,6 +590,7 @@ function addProject() {
|
|||||||
tasks: null,
|
tasks: null,
|
||||||
startDate: null,
|
startDate: null,
|
||||||
endDate: null,
|
endDate: null,
|
||||||
|
current: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -607,6 +608,7 @@ function addEducation() {
|
|||||||
fieldOfStudy: null,
|
fieldOfStudy: null,
|
||||||
startDate: null,
|
startDate: null,
|
||||||
endDate: null,
|
endDate: null,
|
||||||
|
current: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -630,6 +632,7 @@ function submitResume() {
|
|||||||
name: data.name,
|
name: data.name,
|
||||||
education: data.educations.map(education => ({
|
education: data.educations.map(education => ({
|
||||||
...education,
|
...education,
|
||||||
|
current: !!education.current,
|
||||||
endDate: education.current ? null: education.endDate,
|
endDate: education.current ? null: education.endDate,
|
||||||
})),
|
})),
|
||||||
languages: data.languages.map(language => ({
|
languages: data.languages.map(language => ({
|
||||||
@ -642,6 +645,7 @@ function submitResume() {
|
|||||||
})),
|
})),
|
||||||
projects: data.projects.map(project => ({
|
projects: data.projects.map(project => ({
|
||||||
...project,
|
...project,
|
||||||
|
current: !!project.current,
|
||||||
endDate: project.current ? null : project.endDate,
|
endDate: project.current ? null : project.endDate,
|
||||||
})),
|
})),
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user