Second hotfix
This commit is contained in:
parent
0680699822
commit
99e11e182f
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ const SearchModal = (props: Props) => {
|
|||
const key = `recent_${props.object}`
|
||||
|
||||
if (open) {
|
||||
if (firstLoad && cookies[key].length > 0) {
|
||||
if (firstLoad && cookies[key] && cookies[key].length > 0) {
|
||||
setResults(cookies[key])
|
||||
setRecordCount(cookies[key].length)
|
||||
setFirstLoad(false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue