mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-14 16:51:33 +00:00
fix: Send empty string instead of undefined to properly clear shell config
This commit is contained in:
parent
6135550940
commit
5a371e9540
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ export const SettingsGeneral: Component = () => {
|
|||
value={(o) => o.value}
|
||||
label={(o) => o.label}
|
||||
onSelect={(option) => {
|
||||
const value = option?.value === "auto" ? undefined : option?.value
|
||||
const value = option?.value === "auto" ? "" : option?.value
|
||||
globalSync.updateConfig({ shell: value })
|
||||
}}
|
||||
variant="secondary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue