Quellcode durchsuchen

Fix allowedMaxRequests and allowedMaxCost values not showing in the settings UI (#6925)

Christiaan Arnoldus vor 6 Monaten
Ursprung
Commit
a203a90bb7
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      webview-ui/src/components/settings/SettingsView.tsx

+ 2 - 0
webview-ui/src/components/settings/SettingsView.tsx

@@ -629,6 +629,8 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
 							alwaysAllowUpdateTodoList={alwaysAllowUpdateTodoList}
 							alwaysAllowUpdateTodoList={alwaysAllowUpdateTodoList}
 							followupAutoApproveTimeoutMs={followupAutoApproveTimeoutMs}
 							followupAutoApproveTimeoutMs={followupAutoApproveTimeoutMs}
 							allowedCommands={allowedCommands}
 							allowedCommands={allowedCommands}
+							allowedMaxRequests={allowedMaxRequests ?? undefined}
+							allowedMaxCost={allowedMaxCost ?? undefined}
 							deniedCommands={deniedCommands}
 							deniedCommands={deniedCommands}
 							setCachedStateField={setCachedStateField}
 							setCachedStateField={setCachedStateField}
 						/>
 						/>