diff --git a/.changeset/dull-numbers-run.md b/.changeset/dull-numbers-run.md new file mode 100644 index 00000000000..c3b76e5b086 --- /dev/null +++ b/.changeset/dull-numbers-run.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Fix bug creating new configuration profiles diff --git a/webview-ui/src/components/settings/ApiConfigManager.tsx b/webview-ui/src/components/settings/ApiConfigManager.tsx index 87c779b3f36..0a60f6036e1 100644 --- a/webview-ui/src/components/settings/ApiConfigManager.tsx +++ b/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)