Fix job skill filtering
This commit is contained in:
parent
d64d525c1d
commit
eb1caeff8a
1 changed files with 7 additions and 0 deletions
|
|
@ -243,6 +243,13 @@ const SearchModal = (props: Props) => {
|
||||||
}
|
}
|
||||||
}, [query, open])
|
}, [query, open])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (open && props.object === 'job_skills') {
|
||||||
|
setCurrentPage(1)
|
||||||
|
fetchResults({ replace: true })
|
||||||
|
}
|
||||||
|
}, [filters, open])
|
||||||
|
|
||||||
function incrementPage() {
|
function incrementPage() {
|
||||||
setCurrentPage(currentPage + 1)
|
setCurrentPage(currentPage + 1)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue