File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
apps/web-v2/src/features/chat/components Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,15 @@ export function PageHeader({
3535
3636 return (
3737 < header className = "relative flex h-16 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12" >
38- < div className = "flex items-center gap-2 px-4" >
39- < SidebarTrigger className = "-ml-1" />
40- < span className = "text-muted-foreground" > ›</ span >
41- < span className = "text-sm font-medium" >
42- { assistantName || "main agent" }
43- </ span >
44- </ div >
38+ { showToggle && (
39+ < div className = "flex items-center gap-2 px-4" >
40+ < SidebarTrigger className = "-ml-1" />
41+ < span className = "text-muted-foreground" > ›</ span >
42+ < span className = "text-sm font-medium" >
43+ { assistantName || "main agent" }
44+ </ span >
45+ </ div >
46+ ) }
4547 { showToggle && (
4648 < div className = "absolute left-1/2 -translate-x-1/2" >
4749 < div className = "flex h-[24px] w-[134px] items-center gap-0 overflow-hidden rounded border border-[#D1D1D6] bg-white p-[3px] text-[12px] shadow-sm" >
You can’t perform that action at this time.
0 commit comments