assistant2: Fix incorrect action when clicking on a profile (#27710)
This PR fixes an issue where clicking on a profile entry would fork it instead of viewing it. Release Notes: - N/A
This commit is contained in:
parent
35da9c0cdc
commit
e171d16ae3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
})
|
||||
}),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue