fix: Send empty string instead of undefined to properly clear shell config

This commit is contained in:
LukeParkerDev 2026-04-02 12:28:52 +10:00
parent 6135550940
commit 5a371e9540

View file

@ -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"