Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
[codex] Fix provider update checks restore defaults (#3531)
Wout Stiens73bf127d71fb
diff --git a/apps/web/src/components/settings/SettingsPanels.tsx b/apps/web/src/components/settings/SettingsPanels.tsxindex 4ac3ce359..5b29c5494 100644--- a/apps/web/src/components/settings/SettingsPanels.tsx+++ b/apps/web/src/components/settings/SettingsPanels.tsx@@ -405,6 +405,10 @@ export function useSettingsRestore(onRestored?: () => void) {...(settings.enableAssistantStreaming !== DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming? ["Assistant output"]: []),+ ...(settings.enableProviderUpdateChecks !==+ DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks+ ? ["Provider update checks"]+ : []),...(Duration.toMillis(settings.automaticGitFetchInterval) !==Duration.toMillis(DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval)? ["Automatic Git fetch interval"]@@ -438,6 +442,7 @@ export function useSettingsRestore(onRestored?: () => void) {settings.diffIgnoreWhitespace,settings.automaticGitFetchInterval,settings.enableAssistantStreaming,+ settings.enableProviderUpdateChecks,settings.sidebarThreadPreviewCount,settings.timestampFormat,settings.wordWrap,@@ -463,6 +468,7 @@ export function useSettingsRestore(onRestored?: () => void) {sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,+ enableProviderUpdateChecks: DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks,automaticGitFetchInterval: DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval,defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,newWorktreesStartFromOrigin: DEFAULT_UNIFIED_SETTINGS.newWorktreesStartFromOrigin,