Fix search modal filtering
Why were we scoping this to only job_skills?
This commit is contained in:
parent
cfa78dccc3
commit
c43e36e525
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ const SearchModal = (props: Props) => {
|
|||
}, [query, open])
|
||||
|
||||
useEffect(() => {
|
||||
if (open && props.object === 'job_skills') {
|
||||
if (open) {
|
||||
setCurrentPage(1)
|
||||
fetchResults({ replace: true })
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue