From 358e4e5ccf626f28456d8901a112353bfcdf0eab Mon Sep 17 00:00:00 2001 From: KCaverly Date: Thu, 3 Aug 2023 10:22:31 -0400 Subject: [PATCH] update minor text when actively searching --- crates/search/src/project_search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs index 264ca0bd46..b8ff3d94c5 100644 --- a/crates/search/src/project_search.rs +++ b/crates/search/src/project_search.rs @@ -419,7 +419,7 @@ impl View for ProjectSearchView { }; 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()] } else { vec![]