fixup! Add major text
This commit is contained in:
parent
1599ee5467
commit
38d844ab66
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ impl Render for ProjectSearchView {
|
||||||
} else {
|
} else {
|
||||||
let model = self.model.read(cx);
|
let model = self.model.read(cx);
|
||||||
let has_no_results = model.no_results.unwrap_or(false);
|
let has_no_results = model.no_results.unwrap_or(false);
|
||||||
let is_search_underway = model.active_query.is_some();
|
let is_search_underway = model.pending_search.is_some();
|
||||||
let major_text = if is_search_underway {
|
let major_text = if is_search_underway {
|
||||||
Label::new("Searching...")
|
Label::new("Searching...")
|
||||||
} else if has_no_results {
|
} else if has_no_results {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue