fix sidebar

This commit is contained in:
2026-08-01 10:58:37 +07:00
parent 4915d4fd60
commit 32a58211cc

View File

@@ -354,6 +354,14 @@ impl Sidebar {
cx.notify(); cx.notify();
}); });
self.new_requests = false; self.new_requests = false;
// Reset search state when switching to inbox/requests
self.reset(window, cx);
// Clear the find input value
self.find_input.update(cx, |this, cx| {
this.set_value("", window, cx);
});
} }
fn render_list_items( fn render_list_items(