fix(conversation-context-bar): hide selectors divider when no attachments are present

This commit is contained in:
xintaofei
2026-04-23 23:38:40 +08:00
parent 1148319eba
commit 211d589160

View File

@@ -112,7 +112,12 @@ export const ConversationContextBar = memo(function ConversationContextBar({
)}
>
{hasSelectors && ownTab && ownFolder && (
<div className="sticky left-0 z-10 flex shrink-0 items-center gap-1.5 border-r border-border/50 bg-background pl-2 pr-2">
<div
className={cn(
"sticky left-0 z-10 flex shrink-0 items-center gap-1.5 bg-background pl-2 pr-2",
hasExtraContent && "border-r border-border/50"
)}
>
<FolderPicker
folders={folders}
currentFolderId={ownFolder.id}