mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 03:14:06 -05:00
fix(craft): add icon to main agent row in agent switcher (#13550)
This commit is contained in:
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"}
|
||||
|
||||
Reference in new issue
Block a user