agent_ui: Fix how icons from external agents are displayed (#42034)
Release Notes: - N/A
This commit is contained in:
@@ -2081,7 +2081,7 @@ impl AgentPanel {
|
||||
let mut entry =
|
||||
ContextMenuEntry::new(format!("New {}", agent_name));
|
||||
if let Some(icon_path) = icon_path {
|
||||
entry = entry.custom_icon_path(icon_path);
|
||||
entry = entry.custom_icon_svg(icon_path);
|
||||
} else {
|
||||
entry = entry.icon(IconName::Terminal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user