mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Disable the API config dropdown in sync with the chat textarea
This commit is contained in:
@@ -679,17 +679,18 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
|
|||||||
>
|
>
|
||||||
<select
|
<select
|
||||||
value={currentApiConfigName}
|
value={currentApiConfigName}
|
||||||
|
disabled={textAreaDisabled}
|
||||||
onChange={(e) => vscode.postMessage({
|
onChange={(e) => vscode.postMessage({
|
||||||
type: "loadApiConfiguration",
|
type: "loadApiConfiguration",
|
||||||
text: e.target.value
|
text: e.target.value
|
||||||
})}
|
})}
|
||||||
style={{
|
style={{
|
||||||
fontSize: "11px",
|
fontSize: "11px",
|
||||||
cursor: "pointer",
|
cursor: textAreaDisabled ? "not-allowed" : "pointer",
|
||||||
backgroundColor: "transparent",
|
backgroundColor: "transparent",
|
||||||
border: "none",
|
border: "none",
|
||||||
color: "var(--vscode-input-foreground)",
|
color: "var(--vscode-input-foreground)",
|
||||||
opacity: 0.6,
|
opacity: textAreaDisabled ? 0.5 : 0.6,
|
||||||
outline: "none",
|
outline: "none",
|
||||||
paddingLeft: 14,
|
paddingLeft: 14,
|
||||||
WebkitAppearance: "none",
|
WebkitAppearance: "none",
|
||||||
|
|||||||
Reference in New Issue
Block a user