ソースを参照

Merge pull request #497 from RooVetGit/3_2_7

3 2 7
Matt Rubens 11 ヶ月 前
コミット
42cf557198

+ 5 - 0
.changeset/dull-numbers-run.md

@@ -0,0 +1,5 @@
+---
+"roo-cline": patch
+---
+
+Fix bug creating new configuration profiles

+ 1 - 3
webview-ui/src/components/settings/ApiConfigManager.tsx

@@ -58,9 +58,7 @@ const ApiConfigManager = ({
 		if (editState === "new") {
 			onUpsertConfig(trimmedValue)
 		} else if (editState === "rename" && currentApiConfigName) {
-			if (currentApiConfigName !== trimmedValue) {
-				onRenameConfig(currentApiConfigName, trimmedValue)
-			}
+			onRenameConfig(currentApiConfigName, trimmedValue)
 		}
 
 		setEditState(null)