Skip to content

Commit 9449f5d

Browse files
authored
fix: Checking "Support Images" had no effect on first click (RooCodeInc#1922)
1 parent 7bc0292 commit 9449f5d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/rare-pigs-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Fix checking "Support Images" setting had no effect on first click

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage, is
721721
{modelConfigurationSelected && (
722722
<>
723723
<VSCodeCheckbox
724-
checked={apiConfiguration?.openAiModelInfo?.supportsImages}
724+
checked={!!apiConfiguration?.openAiModelInfo?.supportsImages}
725725
onChange={(e: any) => {
726726
const isChecked = e.target.checked === true
727727
let modelInfo = apiConfiguration?.openAiModelInfo

0 commit comments

Comments
 (0)