Browse Source

Update webview-ui/src/components/prompts/PromptsView.tsx

Co-authored-by: Matt Rubens <[email protected]>
Hannes Rudolph 11 months ago
parent
commit
47294dec56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webview-ui/src/components/prompts/PromptsView.tsx

+ 1 - 1
webview-ui/src/components/prompts/PromptsView.tsx

@@ -563,7 +563,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
 	*/}
 					<div style={{ marginBottom: 15 }}>
 						<VSCodeCheckbox
-							checked={enableCustomModeCreation || false}
+							checked={enableCustomModeCreation ?? true}
 							onChange={(e: any) => {
 								// Just update the local state through React context
 								// The React context will update the global state