mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 23:03:57 +00:00
update minor text when actively searching
This commit is contained in:
parent
822b1ec002
commit
358e4e5ccf
1 changed files with 1 additions and 1 deletions
|
@ -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![]
|
||||||
|
|
Loading…
Reference in a new issue