From 1582a4c2702c72bb2d6d6923c0560d2e4ff71322 Mon Sep 17 00:00:00 2001 From: Fimeg Date: Sat, 20 Dec 2025 17:40:51 -0500 Subject: [PATCH] fix: Remove remaining scan_updates reference\n\n- Remove scan_updates from getActionIcon switch\n- Add platform-specific scan cases (apt, dnf, winget, windows)\n- All scan types now properly use platform-specific handlers --- aggregator-web/src/components/ChatTimeline.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aggregator-web/src/components/ChatTimeline.tsx b/aggregator-web/src/components/ChatTimeline.tsx index ed0f57c..1e274c9 100644 --- a/aggregator-web/src/components/ChatTimeline.tsx +++ b/aggregator-web/src/components/ChatTimeline.tsx @@ -243,14 +243,17 @@ const ChatTimeline: React.FC = ({ agentId, className, isScope const getActionIcon = (action: string, type: string) => { if (type === 'command') { switch (action) { - case 'scan_updates': - return ; case 'scan_storage': return ; case 'scan_system': return ; case 'scan_docker': return ; + case 'scan_apt': + case 'scan_dnf': + case 'scan_winget': + case 'scan_windows': + return ; case 'dry_run_update': return ; case 'confirm_dependencies':