agent_ui: Fix external agent icons in configuration view (#42313)

This PR makes the icons for external agents in the configuration view
use `from_external_svg` instead of `from_path`.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-11-09 14:32:19 -03:00
committed by GitHub
parent 2fb3d593bc
commit 6db6251484
+1 -1
View File
@@ -1047,7 +1047,7 @@ impl AgentConfiguration {
AgentIcon::Name(icon_name) => Icon::new(icon_name)
.size(IconSize::Small)
.color(Color::Muted),
AgentIcon::Path(icon_path) => Icon::from_path(icon_path)
AgentIcon::Path(icon_path) => Icon::from_external_svg(icon_path)
.size(IconSize::Small)
.color(Color::Muted),
};