From 512bdbc87693776bfcdd2ef71d2b656c54d212a7 Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 22 Nov 2023 12:34:17 -0700 Subject: [PATCH] Displaying results as long as they are not empty. --- app/src/components/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/Common.js b/app/src/components/Common.js index b301da92..86539253 100644 --- a/app/src/components/Common.js +++ b/app/src/components/Common.js @@ -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}