fix(desktop): Prevent Model response Interruption when opening settings dialog (#25114)
This commit is contained in:
parent
bc805b3001
commit
a9d399699e
2 changed files with 9 additions and 3 deletions
|
|
@ -329,6 +329,7 @@ export const SettingsGeneral: Component = () => {
|
|||
label={(o) => o.label}
|
||||
onSelect={(option) => {
|
||||
if (!option) return
|
||||
if (option.value === currentShell()) return
|
||||
globalSync.updateConfig({ shell: option.value })
|
||||
}}
|
||||
variant="secondary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue