agent_ui: Fix how icons from external agents are displayed (#42034)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal authored and GitHub committed 2025-11-05 21:14:16 +00:00
1 parent 45c535c255
commit 0a3d0d3ad2
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}