Displaying results as long as they are not empty.

This commit is contained in:
Roland 2023-11-22 12:34:17 -07:00
parent af94646489
commit 512bdbc876
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -538,7 +538,7 @@ export function SearchResultsInput({
onResultSelect={localHandleResultSelect}
value={value}
size={size}
results={!loading && !_.isEmpty(results) ? results : loadingResults}
results={_.isEmpty(results) ? loadingResults : results}
resultRenderer={resultRenderer}
className='search-input'
loading={loading}