Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/code/src/renderer/components/ui/combobox/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,11 @@ function ComboboxTrigger({
style={style}
>
<span className="combobox-trigger-inner">{displayValue}</span>
<span className="combobox-trigger-icon">
<CaretDown weight="bold" />
</span>
{!disabled && (
<span className="combobox-trigger-icon">
<CaretDown weight="bold" />
</span>
)}
</button>
</Popover.Trigger>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ interface ModeAndBranchRowProps {
} | null;
disabled?: boolean;
isBashMode?: boolean;
isCloud?: boolean;
taskId?: string;
}

Expand All @@ -44,6 +45,7 @@ function ModeAndBranchRow({
cloudDiffStats,
disabled,
isBashMode,
isCloud,
taskId,
}: ModeAndBranchRowProps) {
const { currentBranch: gitBranch, diffStats } = useGitQueries(
Expand Down Expand Up @@ -120,7 +122,7 @@ function ModeAndBranchRow({
<BranchSelector
repoPath={repoPath ?? null}
currentBranch={currentBranch}
disabled={disabled}
disabled={disabled || isCloud}
variant="ghost"
taskId={taskId}
/>
Expand Down Expand Up @@ -362,6 +364,7 @@ export const MessageEditor = forwardRef<EditorHandle, MessageEditorProps>(
cloudDiffStats={cloudDiffStats}
disabled={disabled}
isBashMode={isBashMode}
isCloud={isCloud}
taskId={taskId}
/>
</Flex>
Expand Down
Loading