fix(desktop): Prevent Model response Interruption when opening settings dialog (#25114)

This commit is contained in:
OpeOginni
2026-05-01 03:27:38 +02:00
committed by GitHub
parent bc805b3001
commit a9d399699e
2 changed files with 9 additions and 3 deletions

View File

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