fix(craft): add icon to main agent row in agent switcher (#13550)

This commit is contained in:
Wenxi authored and GitHub committed 2026-07-29 01:17:17 +00:00
1 parent b1d3fc05d0
commit 71658a4e95
1 file changed
+2
@@ -5,6 +5,7 @@ import { Popover, PopoverMenu, Text, LineItemButton } from "@opal/components";
import {
SvgChevronDown,
SvgCpu,
SvgSparkle,
SvgCheckCircle,
SvgAlertTriangle,
} from "@opal/icons";
@@ -132,6 +133,7 @@ export default function AgentSwitcher() {
key="main"
sizePreset="main-ui"
variant="section"
icon={SvgSparkle}
state={!isViewingSubagent ? "selected" : "empty"}
onClick={selectMainAgent}
title={titleLabel ?? "Main agent"}