Merge pull request #497 from RooVetGit/3_2_7

3 2 7
This commit is contained in:
Matt Rubens
2025-01-22 13:02:04 -08:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

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

View File

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