Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Fix incorrect action when clicking on a profile (#27710)
Marshall Bowerse171d16ae3ab
diff --git a/crates/assistant2/src/assistant_configuration/manage_profiles_modal.rs b/crates/assistant2/src/assistant_configuration/manage_profiles_modal.rsindex 38377e27ffc..53dcc2f6e9d 100644--- a/crates/assistant2/src/assistant_configuration/manage_profiles_modal.rs+++ b/crates/assistant2/src/assistant_configuration/manage_profiles_modal.rs@@ -363,7 +363,7 @@ impl ManageProfilesModal {.on_click({let profile_id = profile.id.clone();cx.listener(move |this, _, window, cx| {- this.new_profile(Some(profile_id.clone()), window, cx);+ this.view_profile(profile_id.clone(), window, cx);})}),)