fixup! Add major text

This commit is contained in:
Piotr Osiewicz 2023-12-11 14:03:43 +01:00
parent 1599ee5467
commit 38d844ab66

View file

@ -332,7 +332,7 @@ impl Render for ProjectSearchView {
} else {
let model = self.model.read(cx);
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 {
Label::new("Searching...")
} else if has_no_results {