update minor text when actively searching

This commit is contained in:
KCaverly 2023-08-03 10:22:31 -04:00
parent 822b1ec002
commit 358e4e5ccf

View file

@ -419,7 +419,7 @@ impl View for ProjectSearchView {
}; };
let minor_text = if let Some(no_results) = model.no_results { let minor_text = if let Some(no_results) = model.no_results {
if no_results { if model.pending_search.is_none() && no_results {
vec!["No results found in this project for the provided query".to_owned()] vec!["No results found in this project for the provided query".to_owned()]
} else { } else {
vec![] vec![]