mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-14 09:11:54 +00:00
feat(desktop): single-profile rail shows default icon + create
Left-align the default's home icon next to the create "+" in the single-profile state (toggle/squares/Manage still appear only once a second profile exists).
This commit is contained in:
parent
0c7def31aa
commit
48d8d80771
1 changed files with 5 additions and 0 deletions
|
|
@ -184,6 +184,11 @@ export function ProfileRail() {
|
|||
<ProfilePill active={isAll} glyph="layers" label="All profiles" onSelect={() => setShowAllProfiles(true)} />
|
||||
))}
|
||||
|
||||
{/* Single-profile: the active default's home icon next to the create +. */}
|
||||
{!multiProfile && defaultProfile && (
|
||||
<ProfilePill active glyph="home" label={defaultProfile.name} onSelect={() => selectProfile(defaultProfile.name)} />
|
||||
)}
|
||||
|
||||
<div
|
||||
className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
|
||||
ref={scrollRef}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue