فهرست منبع

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

Christiaan Arnoldus 6 ماه پیش
والد
کامیت
a203a90bb7
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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}
 							followupAutoApproveTimeoutMs={followupAutoApproveTimeoutMs}
 							allowedCommands={allowedCommands}
+							allowedMaxRequests={allowedMaxRequests ?? undefined}
+							allowedMaxCost={allowedMaxCost ?? undefined}
 							deniedCommands={deniedCommands}
 							setCachedStateField={setCachedStateField}
 						/>