Merge branch 'develop' of https://github.com/Frappet/hrms-recruit into develop
This commit is contained in:
commit
ea7b9e0c2e
1 changed files with 3 additions and 3 deletions
|
|
@ -201,10 +201,10 @@ const fetchPerson = async () => {
|
|||
let filterEducationLevels = data.educationLevels
|
||||
|
||||
if (examStore.educationLevel === 'BACHELOR') {
|
||||
filterEducationLevels = data.educationLevels.filter((level: any) => level.rank === 7)
|
||||
filterEducationLevels = data.educationLevels.filter((level: any) => level.rank === 8)
|
||||
} else if (examStore.educationLevel === 'LOW_BACHELOR') {
|
||||
filterEducationLevels = data.educationLevels.filter(
|
||||
(level: any) => level.rank >= 4 && level.rank <= 6
|
||||
(level: any) => level.rank >= 4 && level.rank <= 7
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ const fetchPerson = async () => {
|
|||
})
|
||||
|
||||
data.educationLevels
|
||||
.filter((level: any) => level.rank >= 4 && level.rank !== 6 && level.rank !== 8)
|
||||
.filter((level: any) => level.rank >= 4)
|
||||
.map((r: any) => {
|
||||
optionEducationLevelHigher.push({ id: r.id.toString(), name: r.name.toString() })
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue