small fix to rate status update

This commit is contained in:
KCaverly 2023-09-14 15:42:21 -04:00
parent 1eb74acb3e
commit 8ff3e37044

View file

@ -701,10 +701,11 @@ impl ProjectSearchView {
})); }));
return; return;
} }
} } else {
semantic_state.maintain_rate_limit = None; semantic_state.maintain_rate_limit = None;
} }
} }
}
fn clear_search(&mut self, cx: &mut ViewContext<Self>) { fn clear_search(&mut self, cx: &mut ViewContext<Self>) {
self.model.update(cx, |model, cx| { self.model.update(cx, |model, cx| {